Add in a newer tftpboot tree which I know works for iad2 already we can fix as time goes on.
This commit is contained in:
parent
f2d025b97e
commit
612d5c41fa
2 changed files with 8 additions and 0 deletions
|
@ -37,6 +37,7 @@ require ip 213.175.193.206
|
||||||
require ip 213.175.193.207
|
require ip 213.175.193.207
|
||||||
require ip 38.145.48.0/23
|
require ip 38.145.48.0/23
|
||||||
|
|
||||||
|
|
||||||
# ibiblio
|
# ibiblio
|
||||||
require ip 152.19.134.136
|
require ip 152.19.134.136
|
||||||
require ip 152.19.134.137
|
require ip 152.19.134.137
|
||||||
|
|
|
@ -42,6 +42,13 @@
|
||||||
synchronize: src="{{ bigfiles }}/tftpboot/" dest=/var/lib/tftpboot/
|
synchronize: src="{{ bigfiles }}/tftpboot/" dest=/var/lib/tftpboot/
|
||||||
tags:
|
tags:
|
||||||
- tftp_server
|
- tftp_server
|
||||||
|
when: datacenter != 'iad2'
|
||||||
|
|
||||||
|
- name: fill up the tftpboot directory
|
||||||
|
synchronize: src="{{ bigfiles }}/tftpboot2/" dest=/var/lib/tftpboot/
|
||||||
|
tags:
|
||||||
|
- tftp_server
|
||||||
|
when: datacenter == 'iad2'
|
||||||
|
|
||||||
- name: generate custom configs
|
- name: generate custom configs
|
||||||
template: src=grubhost.cfg.j2 dest="/var/lib/tftpboot/uefi/{{ hostvars[item].install_mac }}"
|
template: src=grubhost.cfg.j2 dest="/var/lib/tftpboot/uefi/{{ hostvars[item].install_mac }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue