Start with host-specific install config generation
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
72cd3aba20
commit
d9264225b5
4 changed files with 45 additions and 0 deletions
|
@ -40,3 +40,10 @@
|
|||
synchronize: src="{{ bigfiles }}/tftpboot/" dest=/var/lib/tftpboot/
|
||||
tags:
|
||||
- tftp_server
|
||||
|
||||
- name: generate custom configs
|
||||
template: src=grubhost.cfg dest="/var/lib/tftpboot/uefi/{{ item.install_mac }}"
|
||||
with_items: groups['all']
|
||||
when: "hostvars[item].install_noc == ansible_inventory_hostname"
|
||||
tags:
|
||||
- tftp_server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue