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:
Stephen Smoogen 2020-05-12 13:16:35 -04:00
parent f2d025b97e
commit 612d5c41fa
2 changed files with 8 additions and 0 deletions

View file

@ -37,6 +37,7 @@ require ip 213.175.193.206
require ip 213.175.193.207
require ip 38.145.48.0/23
# ibiblio
require ip 152.19.134.136
require ip 152.19.134.137

View file

@ -42,6 +42,13 @@
synchronize: src="{{ bigfiles }}/tftpboot/" dest=/var/lib/tftpboot/
tags:
- 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
template: src=grubhost.cfg.j2 dest="/var/lib/tftpboot/uefi/{{ hostvars[item].install_mac }}"