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:
parent
e22ec8aab0
commit
ce15361a28
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user