2015-11-25 11:31:23 -05:00
|
|
|
- hosts: "localhost:!disabled"
|
2018-09-07 10:51:56 -07:00
|
|
|
name: "Puppet-git: Collect the project-config ref"
|
2016-07-12 13:56:46 -04:00
|
|
|
strategy: free
|
2015-02-09 16:55:48 -08:00
|
|
|
connection: local
|
|
|
|
tasks:
|
|
|
|
# Note that git module does ls-remote if clone is set to no and places
|
|
|
|
# the remote_head value in returndict.after
|
2018-08-17 05:11:03 -05:00
|
|
|
- name: Grab project-config repo info
|
|
|
|
git:
|
|
|
|
repo: https://git.openstack.org/openstack-infra/project-config
|
|
|
|
clone: no
|
2015-02-09 16:55:48 -08:00
|
|
|
register: gitinfo
|
2018-08-17 05:11:03 -05:00
|
|
|
|
|
|
|
- hosts: "git-server:!disabled"
|
2018-09-07 10:51:56 -07:00
|
|
|
name: "Puppet-git: Run puppet on the git servers"
|
2016-07-12 13:56:46 -04:00
|
|
|
strategy: free
|
2014-04-15 17:41:45 -07:00
|
|
|
max_fail_percentage: 1
|
|
|
|
roles:
|
2015-02-09 16:55:48 -08:00
|
|
|
- role: puppet
|
|
|
|
facts:
|
|
|
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
2018-08-17 05:11:03 -05:00
|
|
|
|
2018-05-02 17:24:42 -04:00
|
|
|
- hosts: "review:!disabled"
|
2018-09-07 10:51:56 -07:00
|
|
|
name: "Puppet-git: Run puppet on the Gerrit server"
|
2016-07-12 13:56:46 -04:00
|
|
|
strategy: free
|
2015-11-23 16:36:52 +02:00
|
|
|
gather_facts: true
|
2014-04-15 17:41:45 -07:00
|
|
|
roles:
|
2015-02-09 16:55:48 -08:00
|
|
|
- role: puppet
|
|
|
|
facts:
|
|
|
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
2018-01-24 09:33:57 -06:00
|
|
|
puppet_timeout: 60m
|
2018-08-17 05:11:03 -05:00
|
|
|
|
2018-01-20 00:57:04 +00:00
|
|
|
- hosts: "zuul-scheduler:!disabled"
|
2018-09-07 10:51:56 -07:00
|
|
|
name: "Puppet-git: Run puppet on the Zuul scheduler"
|
2017-12-18 09:45:50 -06:00
|
|
|
strategy: free
|
|
|
|
gather_facts: true
|
|
|
|
roles:
|
|
|
|
- role: puppet
|
|
|
|
facts:
|
|
|
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
2018-01-24 09:33:57 -06:00
|
|
|
puppet_timeout: 60m
|