releng-compose: adjust for iad2 vs phx2

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-06-10 18:30:13 -07:00
parent 1b150b908b
commit ea13e7d14e

View file

@ -165,37 +165,37 @@
# put cron job in for branched compose
- name: branched compose cron
copy: src="branched" dest=/etc/cron.d/branched
when: inventory_hostname.startswith('branched-composer.phx2')
when: inventory_hostname.startswith('branched-composer.iad2')
# put cron job in for rawhide compose
- name: rawhide compose cron
copy: src="rawhide" dest=/etc/cron.d/rawhide
when: inventory_hostname.startswith('rawhide-composer.phx2')
when: inventory_hostname.startswith('compose-rawhide01.iad2')
# put cron job in for cloud nightly compose
- name: cloud updates compose cron
copy: src="cloud-updates" dest=/etc/cron.d/cloud-updates
when: inventory_hostname.startswith('compose-x86-01.phx2')
when: inventory_hostname.startswith('compose-x86-01.iad2')
# put cron job in for docker nightly compose
- name: docker compose cron
copy: src="container-updates" dest=/etc/cron.d/container-updates
when: inventory_hostname.startswith('compose-x86-01.phx2')
when: inventory_hostname.startswith('compose-x86-01.iad2')
# put cron job in for regular ami deletion
- name: clean-amis cron
template: src=clean-amis.j2 dest=/etc/cron.d/clean-amis
when: inventory_hostname.startswith('compose-x86-01.phx2')
when: inventory_hostname.startswith('compose-x86-01.iad2')
# put cron job in for IoT rawhide compose
- name: IoT rawhide compose cron
copy: src="rawhide-iot" dest=/etc/cron.d/rawhide-iot
when: inventory_hostname.startswith('compose-iot-01.phx2')
when: inventory_hostname.startswith('compose-iot-01.iad2')
# put cron job in for epel8-playground compose
- name: epel8-playground compose cron
copy: src="epel8-playground" dest=/etc/cron.d/epel8-playground
when: inventory_hostname.startswith('branched-composer.phx2')
when: inventory_hostname.startswith('branched-composer.iad2')
- name: install compose /etc/httpd/conf.d/compose.conf file
copy: >