File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3838 enabled : true
3939
4040- name : copy undionly.kpxe chainboot
41- copy : src=undionly.kpxe dest=/var/lib/tftpboot /undionly.kpxe owner=root group=root mode="0644"
41+ copy : src=undionly.kpxe dest=/var/tftp /undionly.kpxe owner=root group=root mode="0644"
4242
4343- name : copy snponly.efi (UEFI 64-bit) chainboot
44- copy : src=snponly.efi dest=/var/lib/tftpboot /snponly.efi owner=root group=root mode="0644"
44+ copy : src=snponly.efi dest=/var/tftp /snponly.efi owner=root group=root mode="0644"
4545
4646- name : install selinux package
4747 package : name="policycoreutils" state=present
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ host {{ item }} {
44 hardware ethernet {{ hostvars[item] ['mac_address'] }};
55 fixed-address {{ hostvars[item] ['int_ip_addr'] }};
66 send host-name "{{ item }}.{{ dhcp_common_domain }}";
7- next-server {{ dhcp_tftp_server_ip }};
7+ next-server {{ hostvars[ite m] [' dhcp_tftp_server_ip'] }};
88
99 if exists user-class and (option user-class = "iPXE"
1010 or option user-class = "gPXE") {
11- filename "http://{{ dhcp_tftp_server_ip }}/cgi-bin/boot.py";
11+ filename "http://{{ hostvars[ite m] [' dhcp_tftp_server_ip'] }}/cgi-bin/boot.py";
1212 } elsif option arch = 00:00 {
1313 # Legacy x86 BIOS
1414 filename "undionly.kpxe";
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ timezone --utc Europe/Helsinki
1818
1919# firstboot --disable
2020{% if hostvars[item].yum_proxy is defined %}
21- url --url =" {{ repo_location }}" --proxy ={{ hostvars[item].yum_proxy }}
21+ url --url =" {{ hostvars[item]. repo_location }}" --proxy ={{ hostvars[item].yum_proxy }}
2222{% else %}
23- url --url =" {{ repo_location }}"
23+ url --url =" {{ hostvars[item]. repo_location }}"
2424{% endif %}
2525
2626# repos
You can’t perform that action at this time.
0 commit comments