Switch to hostgroup review for puppet_run_all playbooks

Because we changed out the hostname of review.o.o for review01.o.o our
current playbooks will be broken. To fix this moving forward, we can
just switch to the group 'review' which includes the review01.o.o
host.

Change-Id: I149eacbc759f95087f2b0a0e44fcf0b49cae7ad6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-05-02 17:24:42 -04:00
parent e22ec8aab0
commit ce15361a28
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
- hosts: '!review.openstack.org:!git0*:!zuul-scheduler:!afs*:!baremetal*:!controller*:!compute*:!puppetmaster*:!disabled'
- hosts: '!review:!git0*:!zuul-scheduler:!afs*:!baremetal*:!controller*:!compute*:!puppetmaster*:!disabled'
strategy: free
gather_facts: true
roles:

View File

@ -24,7 +24,7 @@
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
manage_config: True
puppet_reports: none
- hosts: "review.openstack.org:!disabled"
- hosts: "review:!disabled"
strategy: free
gather_facts: true
roles:

View File

@ -1,4 +1,4 @@
- hosts: review.openstack.org
- hosts: review
gather_facts: False
remote_user: root
tasks:
@ -45,7 +45,7 @@
shell: echo 'update projects set name="{{ item.new }}" where name="{{ item.old }}";' | mysql --defaults-file=/root/.storyboard_db.cnf storyboard
with_items: "{{ repos }}"
- hosts: review.openstack.org
- hosts: review
gather_facts: False
remote_user: root
become: yes
@ -55,7 +55,7 @@
- name: Make backup of gerrit index
shell: cp -ax /home/gerrit2/review_site/index /home/gerrit2/index.backup.$(date +%s)
- hosts: review.openstack.org
- hosts: review
gather_facts: False
remote_user: root
tasks:
@ -64,7 +64,7 @@
- name: Start gerrit
shell: invoke-rc.d gerrit start
- hosts: review.openstack.org
- hosts: review
gather_facts: False
remote_user: root
become: yes