1
0
Fork 0
forked from infra/ansible

tftp_server: drop old rhcos images

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2025-08-06 11:57:39 -07:00
commit 4445de3f1a

View file

@ -36,23 +36,6 @@
tags:
- tftp_server
- name: Set permissions on the rhcos tftpboot folder
ansible.builtin.file:
path: /var/lib/tftpboot/rhcos
mode: '0755'
tags:
- tftp_server
when: datacenter == 'rdu3'
- name: Copy rhcos files to images folder
ansible.builtin.copy:
src: "/var/lib/tftpboot/rhcos/"
dest: "/var/lib/tftpboot/images/RHCOS/4.8/x86_64/"
remote_src: yes
tags:
- tftp_server
when: datacenter == 'rdu3'
# - name: Generate custom configs
# ansible.builtin.template: src=grubhost.cfg.j2 dest="/var/lib/tftpboot/uefi/{{ hostvars[item].install_mac }}"
# with_items: "{{ groups['all'] }}"