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

@ -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 }}"