ansible: Try and mass fix all the manual playbooks to use _ instead of - in group names.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
adf77a651f
commit
3a907f13bd
37 changed files with 90 additions and 90 deletions
|
@ -7,7 +7,7 @@
|
|||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=autosign-stg"
|
||||
|
||||
- name: make the box be real
|
||||
hosts: autosign:autosign-stg
|
||||
hosts: autosign:autosign_stg
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: upgrade copr backend
|
||||
hosts: copr-back-dev:copr-back-stg:copr-back
|
||||
hosts: copr_back_dev:copr_back_stg:copr_back
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: upgrade copr distgit
|
||||
hosts: copr-dist-git-dev:copr-dist-git-stg:copr-dist-git
|
||||
hosts: copr_dist_git_dev:copr_dist_git_stg:copr_dist_git
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: upgrade copr frontend
|
||||
hosts: copr-front-dev:copr-front
|
||||
hosts: copr_front_dev:copr_front
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: upgrade copr keygen
|
||||
hosts: copr-keygen-dev:copr-keygen-stg:copr-keygen
|
||||
hosts: copr_keygen_dev:copr_keygen_stg:copr_keygen
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# NOTE: most of these vars_path come from group_vars/kernel-qa or from hostvars
|
||||
|
||||
- name: make kernel-qa
|
||||
hosts: kernel-qa
|
||||
hosts: kernel_qa
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: be quiet please...
|
||||
hosts: notifs-backend:notifs-backend-stg
|
||||
hosts: notifs_backend:notifs_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: restart worker services on openQA worker hosts (production)
|
||||
hosts: openqa-workers:openqa-stg-workers
|
||||
hosts: openqa_workers:openqa_stg_workers
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
- name: copy new badge art over to the badges web nodes
|
||||
hosts: badges-web:badges-web-stg
|
||||
hosts: badges_web:badges_web_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -69,7 +69,7 @@
|
|||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
- name: copy any new badges rules over to the badges backend and restart it
|
||||
hosts: badges-backend:badges-backend-stg
|
||||
hosts: badges_backend:badges_backend_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
- name: make qadevel server
|
||||
hosts: qadevel:qadevel-stg
|
||||
hosts: qadevel:qadevel_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
|||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||
|
||||
- name: make the box be real
|
||||
hosts: qadevel:qadevel-stg
|
||||
hosts: qadevel:qadevel_stg
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
fail_msg: "You must define vhost"
|
||||
|
||||
- name: Create the queue in RabbitMQ
|
||||
hosts: rabbitmq-stg[0]:rabbitmq[0]
|
||||
hosts: rabbitmq_stg[0]:rabbitmq[0]
|
||||
rabbitmq_queue:
|
||||
name: "{{ queue_name }}"
|
||||
vhost: "{{ vhost }}"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# between nodes with gluster.
|
||||
|
||||
- name: enter maintenance mode
|
||||
hosts: packages:packages-stg
|
||||
hosts: packages:packages_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
|||
- fedmsg-hub
|
||||
|
||||
- name: Rebuild that search index on the side and install it (just staging)
|
||||
hosts: packages-stg
|
||||
hosts: packages_stg
|
||||
user: root
|
||||
become: True
|
||||
become_user: apache
|
||||
|
@ -61,7 +61,7 @@
|
|||
when: install_packages_indexer
|
||||
|
||||
- name: leave maintenance mode
|
||||
hosts: packages:packages-stg
|
||||
hosts: packages:packages_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: Put a hotspot.txt file in place.
|
||||
hosts: proxies:proxies-stg
|
||||
hosts: proxies:proxies_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: Nuke the mote cache and restart the services to rebuild it.
|
||||
hosts: value:value-stg
|
||||
hosts: value:value_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
command: /usr/local/bin/lock-wrapper syncStatic /usr/local/bin/syncStatic
|
||||
|
||||
- name: Tell the proxies to sync that freshness
|
||||
hosts: proxies:proxies-stg
|
||||
hosts: proxies:proxies_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# need to be periodically updated with new things.
|
||||
|
||||
- name: restart fedmsg-gateway instances
|
||||
hosts: fedmsg-gateways:fedmsg-gateways-stg
|
||||
hosts: fedmsg_gateways:fedmsg_gateways_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
|||
service: name=fedmsg-gateway state=restarted
|
||||
|
||||
- name: restart fedmsg-relay instances
|
||||
hosts: fedmsg-relays:fedmsg-relays-stg
|
||||
hosts: fedmsg_relays:fedmsg_relays_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
|||
service: name=fedmsg-relay state=restarted
|
||||
|
||||
- name: restart fedmsg-irc instances
|
||||
hosts: fedmsg-ircs:fedmsg-ircs-stg
|
||||
hosts: fedmsg_ircs:fedmsg_ircs_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
|||
service: name=fedmsg-irc state=restarted
|
||||
|
||||
- name: tell nagios to be quiet about FMN for the moment
|
||||
hosts: notifs-backend:notifs-backend-stg
|
||||
hosts: notifs_backend:notifs_backend_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -66,7 +66,7 @@
|
|||
# service: name=fmn-digests@1 state=restarted
|
||||
|
||||
- name: restart fedmsg-hub instances
|
||||
hosts: fedmsg-hubs:fedmsg-hubs-stg
|
||||
hosts: fedmsg_hubs:fedmsg_hubs_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
|||
service: name=fedmsg-hub state=restarted
|
||||
|
||||
- name: restart moksha-hub instances
|
||||
hosts: moksha-hubs:moksha-hubs-stg
|
||||
hosts: moksha_hubs:moksha_hubs_stg
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: reload the frontend
|
||||
hosts: pagure:pagure-stg
|
||||
hosts: pagure:pagure_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
|
||||
- name: bring staging services down (httpd)
|
||||
hosts: bodhi2-stg
|
||||
hosts: bodhi2_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -24,7 +24,7 @@
|
|||
- command: oc -n bodhi scale dc/bodhi-web --replicas=0
|
||||
|
||||
- name: bring staging services down (messaging)
|
||||
hosts: bodhi-backend-stg
|
||||
hosts: bodhi_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -74,7 +74,7 @@
|
|||
- command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2-stg'][0]]['openshift_pods'] }}
|
||||
|
||||
- name: bring staging services up (httpd)
|
||||
hosts: bodhi2-stg
|
||||
hosts: bodhi2_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -85,7 +85,7 @@
|
|||
- service: name=httpd state=started
|
||||
|
||||
- name: bring staging services up (messaging)
|
||||
hosts: bodhi-backend-stg
|
||||
hosts: bodhi_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# production Koschei database dump, but this is not needed for now.
|
||||
|
||||
- name: stop koschei staging services
|
||||
hosts: koschei-backend-stg:koschei-web-stg
|
||||
hosts: koschei_backend_stg:koschei_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -24,7 +24,7 @@
|
|||
when: '"web" in ansible_hostname'
|
||||
|
||||
- name: drop and recreate koji-related tables
|
||||
hosts: koschei-backend-stg
|
||||
hosts: koschei_backend_stg
|
||||
user: root
|
||||
become: yes
|
||||
become_user: koschei
|
||||
|
@ -83,7 +83,7 @@
|
|||
when: "'pgbdr' not in koschei_pgsql_hostname"
|
||||
|
||||
- name: bring koschei staging services up
|
||||
hosts: koschei-backend-stg:koschei-web-stg
|
||||
hosts: koschei_backend_stg:koschei_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out
|
||||
hosts: autocloud-backend:autocloud-backend-stg:autocloud-web:autocloud-web-stg
|
||||
hosts: autocloud_backend:autocloud_backend_stg:autocloud_web:autocloud_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -22,7 +22,7 @@
|
|||
when: testing
|
||||
|
||||
- name: update tunir
|
||||
hosts: autocloud-backend:autocloud-backend-stg
|
||||
hosts: autocloud_backend:autocloud_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -42,7 +42,7 @@
|
|||
when: testing
|
||||
|
||||
- name: update fedfind
|
||||
hosts: autocloud-backend:autocloud-backend-stg
|
||||
hosts: autocloud_backend:autocloud_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -62,7 +62,7 @@
|
|||
when: testing
|
||||
|
||||
- name: update python2-fedfind
|
||||
hosts: autocloud-backend:autocloud-backend-stg
|
||||
hosts: autocloud_backend:autocloud_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -82,7 +82,7 @@
|
|||
when: testing
|
||||
|
||||
- name: verify the frontend and stop it
|
||||
hosts: autocloud-web:autocloud-web-stg
|
||||
hosts: autocloud_web:autocloud_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -104,7 +104,7 @@
|
|||
- service: name="httpd" state=stopped
|
||||
|
||||
- name: verify the backends, stop them, and then upgrade the db
|
||||
hosts: autocloud-backend:autocloud-backend-stg
|
||||
hosts: autocloud_backend:autocloud_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -147,7 +147,7 @@
|
|||
ignore_errors: true
|
||||
|
||||
- name: restart the frontend
|
||||
hosts: autocloud-web:autocloud-web-stg
|
||||
hosts: autocloud_web:autocloud_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out to frontend
|
||||
hosts: badges-web:badges-web-stg
|
||||
hosts: badges_web:badges_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -28,7 +28,7 @@
|
|||
- python-tahrir-api
|
||||
|
||||
- name: push packages out to backend
|
||||
hosts: badges-backend:badges-backend-stg
|
||||
hosts: badges_backend:badges_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -57,7 +57,7 @@
|
|||
- python-tahrir-api
|
||||
|
||||
- name: verify the frontend and stop it
|
||||
hosts: badges-web:badges-web-stg
|
||||
hosts: badges_web:badges_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -79,7 +79,7 @@
|
|||
- service: name="httpd" state=stopped
|
||||
|
||||
- name: verify the backend, stop it, and then upgrade the db
|
||||
hosts: badges-backend:badges-backend-stg
|
||||
hosts: badges_backend:badges_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -117,7 +117,7 @@
|
|||
ignore_errors: true
|
||||
|
||||
- name: restart the frontend
|
||||
hosts: badges-web:badges-web-stg
|
||||
hosts: badges_web:badges_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: check to see if a mash is going on before we do anything...
|
||||
hosts: bodhi-backend:bodhi-backend-stg
|
||||
hosts: bodhi_backend:bodhi_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -19,7 +19,7 @@
|
|||
when: "composes.stdout != '{\"composes\": []}' and env != 'staging'"
|
||||
|
||||
- name: push packages out
|
||||
hosts: bodhi-backend:bodhi-backend-stg
|
||||
hosts: bodhi_backend:bodhi_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -45,7 +45,7 @@
|
|||
when: testing
|
||||
|
||||
- name: find out if there are migrations to run
|
||||
hosts: bodhi-backend:bodhi-backend-stg
|
||||
hosts: bodhi_backend:bodhi_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -58,7 +58,7 @@
|
|||
register: current_migration_version
|
||||
|
||||
- name: Stop the front end if there are migrations to run
|
||||
hosts: os-masters[0]:os-masters-stg[0]
|
||||
hosts: os_masters[0]:os_masters_stg[0]
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -82,7 +82,7 @@
|
|||
when: migrations
|
||||
|
||||
- name: verify the backends, stop them, and then upgrade the db
|
||||
hosts: bodhi-backend:bodhi-backend-stg
|
||||
hosts: bodhi_backend:bodhi_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -135,7 +135,7 @@
|
|||
ignore_errors: true
|
||||
|
||||
- name: restart the frontend
|
||||
hosts: os-masters[0]:os-masters-stg[0]
|
||||
hosts: os_masters[0]:os_masters_stg[0]
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out
|
||||
hosts: bugyou:bugyou-stg
|
||||
hosts: bugyou:bugyou_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -22,7 +22,7 @@
|
|||
when: testing
|
||||
|
||||
- name: verify the backends, stop them, and then upgrade the db
|
||||
hosts: bugyou:bugyou-stg
|
||||
hosts: bugyou:bugyou_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out
|
||||
hosts: bugzilla2fedmsg:bugzilla2fedmsg-stg
|
||||
hosts: bugzilla2fedmsg:bugzilla2fedmsg_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -22,7 +22,7 @@
|
|||
when: testing
|
||||
|
||||
- name: verify the backend and restart it
|
||||
hosts: bugzilla2fedmsg:bugzilla2fedmsg-stg
|
||||
hosts: bugzilla2fedmsg:bugzilla2fedmsg_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out
|
||||
hosts: datagrepper:datagrepper-stg
|
||||
hosts: datagrepper:datagrepper_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -22,7 +22,7 @@
|
|||
when: testing
|
||||
|
||||
- name: verify the config and restart it
|
||||
hosts: datagrepper:datagrepper-stg
|
||||
hosts: datagrepper:datagrepper_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
when: testing
|
||||
|
||||
- name: verify the badges backend and stop it
|
||||
hosts: badges-backend:badges-backend-stg
|
||||
hosts: badges_backend:badges_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -49,7 +49,7 @@
|
|||
- service: name="fedmsg-hub" state=stopped
|
||||
|
||||
- name: verify the datagrepper frontend and stop it
|
||||
hosts: datagrepper:datagrepper-stg
|
||||
hosts: datagrepper:datagrepper_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -68,7 +68,7 @@
|
|||
- service: name="httpd" state=stopped
|
||||
|
||||
- name: verify the notifs frontend and stop it
|
||||
hosts: notifs-web:notifs-web-stg
|
||||
hosts: notifs_web:notifs_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -87,7 +87,7 @@
|
|||
- service: name="httpd" state=stopped
|
||||
|
||||
- name: verify the datanommer backend, stop it, and then upgrade the db
|
||||
hosts: busgateway:busgateway-stg
|
||||
hosts: busgateway:busgateway_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out
|
||||
hosts: fedimg:fedimg-stg
|
||||
hosts: fedimg:fedimg_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -32,7 +32,7 @@
|
|||
when: testing
|
||||
|
||||
- name: verify the backend and restart it
|
||||
hosts: fedimg:fedimg-stg
|
||||
hosts: fedimg:fedimg_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
# Also restart the frontend web services
|
||||
- name: bounce apache
|
||||
hosts: notifs-web:notifs-web-stg:datagrepper:datagrepper-stg
|
||||
hosts: notifs_web:notifs_web_stg:datagrepper:datagrepper_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out
|
||||
hosts: notifs-backend:notifs-backend-stg:notifs-web:notifs-web-stg
|
||||
hosts: notifs_backend:notifs_backend_stg:notifs_web:notifs_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -18,7 +18,7 @@
|
|||
package: name="python-fmn" state=latest
|
||||
|
||||
- name: verify the frontend and stop it
|
||||
hosts: notifs-web:notifs-web-stg
|
||||
hosts: notifs_web:notifs_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -40,7 +40,7 @@
|
|||
- service: name="httpd" state=stopped
|
||||
|
||||
- name: verify the backend, stop it, and then upgrade the db
|
||||
hosts: notifs-backend:notifs-backend-stg
|
||||
hosts: notifs_backend:notifs_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -105,7 +105,7 @@
|
|||
# ignore_errors: true
|
||||
|
||||
- name: restart the frontend
|
||||
hosts: notifs-web:notifs-web-stg
|
||||
hosts: notifs_web:notifs_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out
|
||||
hosts: hotness:hotness-stg
|
||||
hosts: hotness:hotness_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -22,7 +22,7 @@
|
|||
when: testing
|
||||
|
||||
- name: verify the backend and restart it
|
||||
hosts: hotness:hotness-stg
|
||||
hosts: hotness:hotness_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
---
|
||||
- name: apply java-deptools role
|
||||
hosts: java-deptools.fedorainfracloud.org
|
||||
hosts: java_deptools.fedorainfracloud.org
|
||||
roles:
|
||||
- java-deptools
|
||||
|
||||
- name: upgrade java-deptools
|
||||
hosts: java-deptools.fedorainfracloud.org
|
||||
hosts: java_deptools.fedorainfracloud.org
|
||||
tasks:
|
||||
- name: clean dnf metadata
|
||||
command: dnf clean all
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out to frontend
|
||||
hosts: mbs-frontend:mbs-frontend-stg
|
||||
hosts: mbs_frontend:mbs_frontend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -30,7 +30,7 @@
|
|||
- python2-solv
|
||||
|
||||
- name: push packages out to backend
|
||||
hosts: mbs-backend:mbs-backend-stg
|
||||
hosts: mbs_backend:mbs_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -61,7 +61,7 @@
|
|||
- python2-solv
|
||||
|
||||
- name: verify the frontend and stop it
|
||||
hosts: mbs-frontend:mbs-frontend-stg
|
||||
hosts: mbs_frontend:mbs_frontend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -86,7 +86,7 @@
|
|||
- service: name="httpd" state=stopped
|
||||
|
||||
- name: verify the backend, stop it, and then upgrade the db
|
||||
hosts: mbs-backend:mbs-backend-stg
|
||||
hosts: mbs_backend:mbs_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -130,7 +130,7 @@
|
|||
ignore_errors: true
|
||||
|
||||
- name: restart the frontend
|
||||
hosts: mbs-frontend:mbs-frontend-stg
|
||||
hosts: mbs_frontend:mbs_frontend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out
|
||||
hosts: value:value-stg
|
||||
hosts: value:value_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -22,7 +22,7 @@
|
|||
when: testing
|
||||
|
||||
- name: verify the config and restart it
|
||||
hosts: value:value-stg
|
||||
hosts: value:value_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out to frontend
|
||||
hosts: odcs-frontend:odcs-frontend-stg
|
||||
hosts: odcs_frontend:odcs_frontend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -22,7 +22,7 @@
|
|||
- pungi
|
||||
|
||||
- name: push packages out to backend
|
||||
hosts: odcs-backend:odcs-backend-stg
|
||||
hosts: odcs_backend:odcs_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -45,7 +45,7 @@
|
|||
- pungi
|
||||
|
||||
- name: verify the frontend and stop it
|
||||
hosts: odcs-frontend:odcs-frontend-stg
|
||||
hosts: odcs_frontend:odcs_frontend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -68,7 +68,7 @@
|
|||
- service: name="httpd" state=stopped
|
||||
|
||||
- name: verify the backend, stop it, and then upgrade the db
|
||||
hosts: odcs-backend:odcs-backend-stg
|
||||
hosts: odcs_backend:odcs_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -100,7 +100,7 @@
|
|||
ignore_errors: true
|
||||
|
||||
- name: restart the frontend
|
||||
hosts: odcs-frontend:odcs-frontend-stg
|
||||
hosts: odcs_frontend:odcs_frontend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: push packages out
|
||||
hosts: packages:packages-stg
|
||||
hosts: packages:packages_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -22,7 +22,7 @@
|
|||
when: testing
|
||||
|
||||
- name: verify the config and restart it
|
||||
hosts: packages:packages-stg
|
||||
hosts: packages:packages_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
# Main task to upgrade pagure
|
||||
- name: upgrade pagure
|
||||
hosts: pagure:pagure-stg
|
||||
hosts: pagure:pagure_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
- name: verify the backend, and stop it
|
||||
hosts: pdc-backend:pdc-backend-stg
|
||||
hosts: pdc_backend:pdc_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -32,7 +32,7 @@
|
|||
service: name="fedmsg-hub" state=stopped
|
||||
|
||||
- name: verify the frontend, stop it, upgrade the db, and restart it
|
||||
hosts: pdc-web:pdc-web-stg
|
||||
hosts: pdc_web:pdc_web_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
@ -72,7 +72,7 @@
|
|||
ignore_errors: true
|
||||
|
||||
- name: restart the backend
|
||||
hosts: pdc-backend:pdc-backend-stg
|
||||
hosts: pdc_backend:pdc_backend_stg
|
||||
user: root
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue