batcave/dhcp_servers: drop tftpboot2 and just have one tftpboot dir

This commit is contained in:
Kevin Fenzi 2022-05-17 15:34:03 -07:00
parent 60152d4a68
commit 8c22933617
3 changed files with 3 additions and 10 deletions

View file

@ -69,7 +69,7 @@
- name: == OCP KVM provisioning == Downloading RHCOS deploy files
get_url:
dest: /srv/web/infra/bigfiles/tftpboot2/rhcos/
dest: /srv/web/infra/bigfiles/tftpboot/rhcos/
mode: 0755
url: "https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/latest/{{ rhcos_version }}/{{ item }}"
run_once: True

View file

@ -601,7 +601,7 @@
file: path=/srv/web/infra/bigfiles/{{item}} mode=2660 owner=root group=sysadmin-openshift state=directory
with_items:
- openshiftboot
- tftpboot2/rhcos
- tftpboot/rhcos
tags:
- batcave
- openshiftboot
@ -610,7 +610,7 @@
command: setfacl -R -m d:g:sysadmin-openshift:rwx -m g:sysadmin-openshift:rwx /srv/web/infra/bigfiles/{{item}}
with_items:
- openshiftboot
- tftpboot2/rhcos
- tftpboot/rhcos
tags:
- batcave
- openshiftboot

View file

@ -35,13 +35,6 @@
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: Set permissions on the rhcos tftpboot folder
file: