Merge "Switch to hostgroup review for puppet_run_all playbooks"

This commit is contained in:
Zuul 2018-05-02 22:19:11 +00:00 committed by Gerrit Code Review
commit 837f01a6f9
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