Merge "Switch to hostgroup review for puppet_run_all playbooks"
This commit is contained in:
commit
837f01a6f9
@ -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
|
strategy: free
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
||||||
manage_config: True
|
manage_config: True
|
||||||
puppet_reports: none
|
puppet_reports: none
|
||||||
- hosts: "review.openstack.org:!disabled"
|
- hosts: "review:!disabled"
|
||||||
strategy: free
|
strategy: free
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
roles:
|
roles:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
- hosts: review.openstack.org
|
- hosts: review
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
remote_user: root
|
remote_user: root
|
||||||
tasks:
|
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
|
shell: echo 'update projects set name="{{ item.new }}" where name="{{ item.old }}";' | mysql --defaults-file=/root/.storyboard_db.cnf storyboard
|
||||||
with_items: "{{ repos }}"
|
with_items: "{{ repos }}"
|
||||||
|
|
||||||
- hosts: review.openstack.org
|
- hosts: review
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
remote_user: root
|
remote_user: root
|
||||||
become: yes
|
become: yes
|
||||||
@ -55,7 +55,7 @@
|
|||||||
- name: Make backup of gerrit index
|
- name: Make backup of gerrit index
|
||||||
shell: cp -ax /home/gerrit2/review_site/index /home/gerrit2/index.backup.$(date +%s)
|
shell: cp -ax /home/gerrit2/review_site/index /home/gerrit2/index.backup.$(date +%s)
|
||||||
|
|
||||||
- hosts: review.openstack.org
|
- hosts: review
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
remote_user: root
|
remote_user: root
|
||||||
tasks:
|
tasks:
|
||||||
@ -64,7 +64,7 @@
|
|||||||
- name: Start gerrit
|
- name: Start gerrit
|
||||||
shell: invoke-rc.d gerrit start
|
shell: invoke-rc.d gerrit start
|
||||||
|
|
||||||
- hosts: review.openstack.org
|
- hosts: review
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
remote_user: root
|
remote_user: root
|
||||||
become: yes
|
become: yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user