2014-04-15 17:41:45 -07:00
|
|
|
---
|
2015-11-25 11:31:23 -05:00
|
|
|
- hosts: "localhost:!disabled"
|
2016-07-12 13:56:46 -04:00
|
|
|
strategy: free
|
2015-11-23 16:36:52 +02:00
|
|
|
gather_facts: true
|
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
|
|
|
|
- git: repo=https://git.openstack.org/openstack-infra/project-config clone=no
|
|
|
|
register: gitinfo
|
2015-11-28 12:48:33 -08:00
|
|
|
roles:
|
|
|
|
- role: puppet
|
|
|
|
copy_hieradata: False
|
2016-01-19 11:14:13 -05:00
|
|
|
copy_puppet: False
|
2018-01-24 09:33:57 -06:00
|
|
|
manage_config: True
|
|
|
|
puppet_reports: none
|
2018-06-20 23:53:26 +02:00
|
|
|
futureparser: "{{ True if 'futureparser' in group_names else False }}"
|
2015-11-25 11:31:23 -05:00
|
|
|
- hosts: "git0*:!disabled"
|
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
|
|
|
max_fail_percentage: 1
|
|
|
|
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
|
|
|
manage_config: True
|
|
|
|
puppet_reports: none
|
2018-06-20 23:53:26 +02:00
|
|
|
futureparser: "{{ True if 'futureparser' in group_names else False }}"
|
2018-05-02 17:24:42 -04:00
|
|
|
- hosts: "review:!disabled"
|
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
|
|
|
|
manage_config: True
|
|
|
|
puppet_reports: none
|
2018-06-20 23:53:26 +02:00
|
|
|
futureparser: "{{ True if 'futureparser' in group_names else False }}"
|
2018-01-20 00:57:04 +00:00
|
|
|
- hosts: "zuul-scheduler:!disabled"
|
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
|
|
|
|
manage_config: True
|
|
|
|
puppet_reports: none
|
2018-06-20 23:53:26 +02:00
|
|
|
futureparser: "{{ True if 'futureparser' in group_names else False }}"
|