metrics-for-apps: synchronise rhcos files to noc01 for uefi boot

Signed-off-by: David Kirwan <dkirwan@redhat.com>
This commit is contained in:
David Kirwan 2021-08-25 12:22:41 +09:00
parent b5fd9a05b9
commit e47f5bbe18

View file

@ -51,6 +51,15 @@
- tftp_server - tftp_server
when: datacenter == 'iad2' when: datacenter == 'iad2'
- name: Copy rhcos files to images folder
copy:
src: "/var/lib/tftpboot/rhcos/"
dest: "/var/lib/tftpboot/images/RHCOS/4.8/x86_64/"
remote_src: yes
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 }}"
# with_items: "{{ groups['all'] }}" # with_items: "{{ groups['all'] }}"