Use : instead of ; between host/group names. ; is depreciated and will go away someday.

This commit is contained in:
Kevin Fenzi 2016-02-02 21:03:19 +00:00
parent bb25cbd364
commit 9815e9ac58
55 changed files with 127 additions and 127 deletions

View file

@ -1,4 +1,4 @@
# requires --extra-vars="target='host1;host2;group'"
# requires --extra-vars="target='host1:host2:group'"
# thanks threebean on this.
- name: kills postfix which has been left around alive after update.

View file

@ -1,7 +1,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=autocloud-backend-stg"
- name: dole out the generic configuration
hosts: autocloud-backend;autocloud-backend-stg
hosts: autocloud-backend:autocloud-backend-stg
user: root
gather_facts: True
@ -31,7 +31,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: autocloud-backend;autocloud-backend-stg
hosts: autocloud-backend:autocloud-backend-stg
user: root
gather_facts: True
vars_files:

View file

@ -1,7 +1,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=autocloud-web:autocloud-web-stg"
- name: make the box be real
hosts: autocloud-web;autocloud-web-stg
hosts: autocloud-web:autocloud-web-stg
user: root
gather_facts: True
@ -35,7 +35,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the app-specific configuration
hosts: autocloud-web;autocloud-web-stg
hosts: autocloud-web:autocloud-web-stg
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges-backend:badges-backend-stg"
- name: dole out the generic configuration
hosts: badges-backend;badges-backend-stg
hosts: badges-backend:badges-backend-stg
user: root
gather_facts: True
@ -36,7 +36,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: badges-backend;badges-backend-stg
hosts: badges-backend:badges-backend-stg
user: root
gather_facts: True

View file

@ -3,10 +3,10 @@
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/badges-web* or from hostvars
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges-web;badges-web-stg"
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=badges-web:badges-web-stg"
- name: make the box be real
hosts: badges-web;badges-web-stg
hosts: badges-web:badges-web-stg
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bugyou:bugyou-stg"
- name: dole out the generic configuration
hosts: bugyou;bugyou-stg
hosts: bugyou:bugyou-stg
user: root
gather_facts: True
@ -33,7 +33,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: set up fedmsg basics
hosts: bugyou;bugyou-stg
hosts: bugyou:bugyou-stg
user: root
gather_facts: True
@ -49,7 +49,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: bugyou;bugyou-stg
hosts: bugyou:bugyou-stg
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=bugzilla2fedmsg:bugzilla2fedmsg-stg"
- name: dole out the generic configuration
hosts: bugzilla2fedmsg;bugzilla2fedmsg-stg
hosts: bugzilla2fedmsg:bugzilla2fedmsg-stg
user: root
gather_facts: True
@ -34,7 +34,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: bugzilla2fedmsg;bugzilla2fedmsg-stg
hosts: bugzilla2fedmsg:bugzilla2fedmsg-stg
user: root
gather_facts: True

View file

@ -1,7 +1,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=busgateway:busgateway-stg"
- name: dole out the generic configuration
hosts: busgateway;busgateway-stg
hosts: busgateway:busgateway-stg
user: root
gather_facts: True
@ -31,7 +31,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: busgateway;busgateway-stg
hosts: busgateway:busgateway-stg
user: root
gather_facts: True

View file

@ -8,7 +8,7 @@
# Once the instance exists, configure it.
- name: make releng server system
hosts: composers;composers-stg
hosts: composers:composers-stg
user: root
gather_facts: True

View file

@ -1,7 +1,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=darkserver-backend:darkserver-backend-stg"
- name: make the box be real
hosts: darkserver-backend;darkserver-backend-stg
hosts: darkserver-backend:darkserver-backend-stg
user: root
gather_facts: True
@ -40,7 +40,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: set up fedmsg basics
hosts: darkserver-backend;darkserver-backend-stg
hosts: darkserver-backend:darkserver-backend-stg
user: root
gather_facts: True
@ -56,7 +56,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: darkserver-backend;darkserver-backend-stg
hosts: darkserver-backend:darkserver-backend-stg
user: root
gather_facts: True

View file

@ -1,7 +1,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=darkserver-web:darkserver-web-stg"
- name: make the box be real
hosts: darkserver-web;darkserver-web-stg
hosts: darkserver-web:darkserver-web-stg
user: root
gather_facts: True

View file

@ -1,7 +1,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=darkserver:darkserver-stg"
- name: make the box be real
hosts: darkserver;darkserver-stg
hosts: darkserver:darkserver-stg
user: root
gather_facts: True

View file

@ -3,7 +3,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=datagrepper:datagrepper-stg"
- name: make the box be real
hosts: datagrepper;datagrepper-stg
hosts: datagrepper:datagrepper-stg
user: root
gather_facts: True
@ -36,7 +36,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: datagrepper;datagrepper-stg
hosts: datagrepper:datagrepper-stg
user: root
gather_facts: True
@ -59,7 +59,7 @@
# datagrepper that is partially in place, but not yet functional.
#
#- name: set up gluster server on prod
# hosts: datagrepper;datagrepper-stg
# hosts: datagrepper:datagrepper-stg
# user: root
# gather_facts: True
#
@ -81,7 +81,7 @@
# - include: "{{ handlers }}/restart_services.yml"
#
#- name: set up gluster client on prod
# hosts: datagrepper;datagrepper-stg
# hosts: datagrepper:datagrepper-stg
# user: root
# gather_facts: True
#

View file

@ -1,7 +1,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=elections:elections-stg"
- name: make the box be real
hosts: elections;elections-stg
hosts: elections:elections-stg
user: root
gather_facts: True
@ -33,7 +33,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: set up fedmsg on elections
hosts: elections;elections-stg
hosts: elections:elections-stg
user: root
gather_facts: True
@ -49,7 +49,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: deploy elections itself
hosts: elections;elections-stg
hosts: elections:elections-stg
user: root
gather_facts: True

View file

@ -4,7 +4,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fedimg:fedimg-stg"
- name: dole out the generic configuration
hosts: fedimg;fedimg-stg
hosts: fedimg:fedimg-stg
user: root
gather_facts: True
@ -36,7 +36,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: fedimg;fedimg-stg
hosts: fedimg:fedimg-stg
user: root
gather_facts: True

View file

@ -1,7 +1,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=fedocal-stg:fedocal"
- name: make the box be real
hosts: fedocal-stg;fedocal
hosts: fedocal-stg:fedocal
user: root
gather_facts: True
@ -33,7 +33,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: set up fedmsg
hosts: fedocal-stg;fedocal
hosts: fedocal-stg:fedocal
user: root
gather_facts: True
@ -49,7 +49,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: deploy fedocal itself
hosts: fedocal-stg;fedocal
hosts: fedocal-stg:fedocal
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=github2fedmsg:github2fedmsg-stg"
- name: make the box be real
hosts: github2fedmsg;github2fedmsg-stg
hosts: github2fedmsg:github2fedmsg-stg
user: root
gather_facts: True
@ -38,7 +38,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: deploy service-specific config
hosts: github2fedmsg;github2fedmsg-stg
hosts: github2fedmsg:github2fedmsg-stg
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=hotness:hotness-stg"
- name: dole out the generic configuration
hosts: hotness;hotness-stg
hosts: hotness:hotness-stg
user: root
gather_facts: True
@ -37,7 +37,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: set up fedmsg basics
hosts: hotness;hotness-stg
hosts: hotness:hotness-stg
user: root
gather_facts: True
@ -53,7 +53,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: hotness;hotness-stg
hosts: hotness:hotness-stg
user: root
gather_facts: True

View file

@ -1,7 +1,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mdapi:mdapi-stg"
- name: make the box be real
hosts: mdapi-stg;mdapi
hosts: mdapi-stg:mdapi
user: root
gather_facts: True
@ -32,7 +32,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: deploy mdapi itself
hosts: mdapi-stg;mdapi
hosts: mdapi-stg:mdapi
user: root
gather_facts: True
@ -48,7 +48,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: set up fedmsg
hosts: mdapi-stg;mdapi
hosts: mdapi-stg:mdapi
user: root
gather_facts: True

View file

@ -1,7 +1,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=mm:mm-stg"
- name: make the boxe be real for real
hosts: mm;mm-stg
hosts: mm:mm-stg
user: root
gather_facts: True
@ -30,7 +30,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: Deploy the backend
hosts: mm-backend;mm-backend-stg
hosts: mm-backend:mm-backend-stg
user: root
gather_facts: True
@ -48,7 +48,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: Deploy the crawler
hosts: mm-crawler;mm-crawler-stg
hosts: mm-crawler:mm-crawler-stg
user: root
gather_facts: True
@ -67,7 +67,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: Deploy the frontend (web-app)
hosts: mm-frontend;mm-frontend-stg
hosts: mm-frontend:mm-frontend-stg
user: root
gather_facts: True
@ -85,7 +85,7 @@
# Do this one last, since the mirrormanager user needs to exist so that it can
# own the fedmsg certs we put in place here.
- name: Put fedmsg stuff in place
hosts: mm;mm-stg
hosts: mm:mm-stg
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=notifs-backend:notifs-backend-stg"
- name: dole out the generic configuration
hosts: notifs-backend;notifs-backend-stg
hosts: notifs-backend:notifs-backend-stg
user: root
gather_facts: True
@ -38,7 +38,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: notifs-backend;notifs-backend-stg
hosts: notifs-backend:notifs-backend-stg
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=notifs-web:notifs-web-stg"
- name: make the box be real
hosts: notifs-web;notifs-web-stg
hosts: notifs-web:notifs-web-stg
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=nuancier:nuancier-stg"
- name: make the box be real
hosts: nuancier;nuancier-stg
hosts: nuancier:nuancier-stg
user: root
gather_facts: True
@ -37,7 +37,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: set up fedmsg
hosts: nuancier;nuancier-stg
hosts: nuancier:nuancier-stg
user: root
gather_facts: True
@ -113,7 +113,7 @@
mountdir: /var/cache/nuancier
- name: deploy nuancier itself
hosts: nuancier;nuancier-stg
hosts: nuancier:nuancier-stg
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=packages:packages-stg"
- name: make the box be real
hosts: packages;packages-stg
hosts: packages:packages-stg
user: root
gather_facts: True
@ -86,7 +86,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the new service specific config
hosts: packages;packages-stg
hosts: packages:packages-stg
user: root
gather_facts: True

View file

@ -28,7 +28,7 @@
- include: "{{ tasks }}/motd.yml"
- name: stuff for the web nodes
hosts: pdc-web;pdc-web-stg
hosts: pdc-web:pdc-web-stg
user: root
gather_facts: True
vars_files:
@ -49,7 +49,7 @@
- include: "{{ tasks }}/mod_wsgi.yml"
- name: stuff just for the backend nodes
hosts: pdc-backend;pdc-backend-stg
hosts: pdc-backend:pdc-backend-stg
user: root
gather_facts: True
vars_files:

View file

@ -5,7 +5,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgdb:pkgdb-stg"
- name: make the box be real
hosts: pkgdb-stg;pkgdb
hosts: pkgdb-stg:pkgdb
user: root
gather_facts: True
@ -36,7 +36,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: set up fedmsg on pkgdb
hosts: pkgdb-stg;pkgdb
hosts: pkgdb-stg:pkgdb
user: root
gather_facts: True
@ -52,7 +52,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: deploy pkgdb itself
hosts: pkgdb-stg;pkgdb
hosts: pkgdb-stg:pkgdb
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=statscache:statscache-stg"
- name: make the box be real
hosts: statscache;statscache-stg
hosts: statscache:statscache-stg
user: root
gather_facts: True
vars_files:
@ -32,7 +32,7 @@
- include: "{{ tasks }}/motd.yml"
- name: Stuff just for the web frontend
hosts: statscache-web;statscache-web-stg
hosts: statscache-web:statscache-web-stg
user: root
gather_facts: True
vars_files:
@ -52,7 +52,7 @@
- include: "{{ tasks }}/mod_wsgi.yml"
- name: Stuff just for the fedmsg backend
hosts: statscache-backend;statscache-backend-stg
hosts: statscache-backend:statscache-backend-stg
user: root
gather_facts: True
vars_files:

View file

@ -3,10 +3,10 @@
# NOTE: make sure there is room/space for this server on the vmhost
# NOTE: most of these vars_path come from group_vars/mirrorlist or from hostvars
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=summershum;summershum-stg"
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=summershum:summershum-stg"
- name: dole out the generic configuration
hosts: summershum;summershum-stg
hosts: summershum:summershum-stg
user: root
gather_facts: True
@ -37,7 +37,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: set up fedmsg basics
hosts: summershum;summershum-stg
hosts: summershum:summershum-stg
user: root
gather_facts: True
@ -53,7 +53,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service-specific config
hosts: summershum;summershum-stg
hosts: summershum:summershum-stg
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=sundries:sundries-stg"
- name: make the box be real
hosts: sundries;sundries-stg
hosts: sundries:sundries-stg
user: root
gather_facts: True

View file

@ -6,7 +6,7 @@
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=tagger:tagger-stg"
- name: make the box be real
hosts: tagger;tagger-stg
hosts: tagger:tagger-stg
user: root
gather_facts: True
@ -38,7 +38,7 @@
- include: "{{ handlers }}/restart_services.yml"
- name: dole out the service specific config
hosts: tagger;tagger-stg
hosts: tagger:tagger-stg
user: root
gather_facts: True
@ -55,7 +55,7 @@
# This comes last because it relies on a group created by the tagger role.
- name: setup fedmsg
hosts: tagger;tagger-stg
hosts: tagger:tagger-stg
user: root
gather_facts: True

View file

@ -1,4 +1,4 @@
# requires --extra-vars="target='host1;host2;group etc' package='somepackage'"
# requires --extra-vars="target='host1:host2:group etc' package='somepackage'"
#
# This playbook searches through the yum history for the latest transaction
# involving a particular package. Once it finds it, it will undo that
@ -18,7 +18,7 @@
register: transaction_id
# If transaction_id.stderr == "", then that means that the $PACKAGE we're
# looking for was never installed; it does not appear in the yum history.
# looking for was never installed: it does not appear in the yum history.
- debug: var=transaction_id.stdout
when: transaction_id.stderr == ""

View file

@ -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

View file

@ -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
@ -64,7 +64,7 @@
when: install_packages_indexer
- name: leave maintenance mode
hosts: packages;packages-stg
hosts: packages:packages-stg
user: root
gather_facts: False

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -42,7 +42,7 @@
- unarchive: src={{intermediary}}/pkgs02.phx2.fedoraproject.org/{{tarball}} dest=/
- name: finish cleaning up after ourselves
hosts: batcave01.phx2.fedoraproject.org;pkgs;pkgs-stg
hosts: batcave01.phx2.fedoraproject.org:pkgs:pkgs-stg
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml

View file

@ -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: 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
@ -64,7 +64,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
@ -107,7 +107,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

View file

@ -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

View file

@ -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
@ -18,7 +18,7 @@
when: lockfile.rc == 0
- name: push packages out
hosts: bodhi-backend;bodhi-backend-stg;bodhi2;bodhi2-stg
hosts: bodhi-backend:bodhi-backend-stg:bodhi2:bodhi2-stg
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -41,7 +41,7 @@
when: testing
- name: verify the frontend and stop it
hosts: bodhi2;bodhi2-stg
hosts: bodhi2:bodhi2-stg
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -63,7 +63,7 @@
- service: name="httpd" state=stopped
- 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
@ -101,7 +101,7 @@
ignore_errors: true
- name: restart the frontend
hosts: bodhi2;bodhi2-stg
hosts: bodhi2:bodhi2-stg
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml

View file

@ -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

View file

@ -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

View file

@ -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
@ -22,7 +22,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

View file

@ -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

View file

@ -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
@ -22,7 +22,7 @@
when: testing
- 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
@ -44,7 +44,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
@ -83,7 +83,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

View file

@ -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

View file

@ -1,5 +1,5 @@
- name: upgrade koschei
hosts: koschei-stg;koschei
hosts: koschei-stg:koschei
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- /srv/private/ansible/vars.yml

View file

@ -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

View file

@ -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

View file

@ -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
@ -30,7 +30,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
@ -69,7 +69,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

View file

@ -1,5 +1,5 @@
- name: push packages out
hosts: statscache-backend;statscache-backend-stg;statscache-web;statscache-web-stg
hosts: statscache-backend:statscache-backend-stg:statscache-web:statscache-web-stg
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -22,7 +22,7 @@
when: testing
- name: verify the frontend and stop it
hosts: statscache-web;statscache-web-stg
hosts: statscache-web:statscache-web-stg
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -44,7 +44,7 @@
- service: name="httpd" state=stopped
- name: verify the backend, stop it, and then upgrade the db
hosts: statscache-backend;statscache-backend-stg
hosts: statscache-backend:statscache-backend-stg
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml
@ -81,7 +81,7 @@
ignore_errors: true
- name: restart the frontend
hosts: statscache-web;statscache-web-stg
hosts: statscache-web:statscache-web-stg
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml

View file

@ -1,5 +1,5 @@
- name: push packages out
hosts: tagger;tagger-stg
hosts: tagger:tagger-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: tagger;tagger-stg
hosts: tagger:tagger-stg
user: root
vars_files:
- /srv/web/infra/ansible/vars/global.yml

View file

@ -1,4 +1,4 @@
# requires --extra-vars="target='host1;host2;group etc'"
# requires --extra-vars="target='host1:host2:group etc'"
- name: run rkhunter for times when rkhunter didn't seem to run.
hosts: "{{ target }}"

View file

@ -1,4 +1,4 @@
# requires --extra-vars="target='host1;host2;group etc' yumcommand=update'"
# requires --extra-vars="target='host1:host2:group etc' yumcommand=update'"
- name: update all run rkhunter if installed
hosts: "{{ target }}"

View file

@ -1,7 +1,7 @@
# Run `pkgdb2branch` on
#
#To update from testing, adjust as follow:
# --extra-vars="package='pkg1;pkg2;pkg3'"
# --extra-vars="package='pkg1:pkg2:pkg3'"
- name: run pkgdb_sync_git_branches.py