2014-04-16 00:41:45 +00:00
|
|
|
---
|
2015-11-25 16:31:23 +00:00
|
|
|
- hosts: "localhost:!disabled"
|
2016-07-12 17:56:46 +00:00
|
|
|
strategy: free
|
2015-11-23 14:36:52 +00:00
|
|
|
gather_facts: true
|
2015-02-10 00:55:48 +00: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 20:48:33 +00:00
|
|
|
roles:
|
|
|
|
- role: puppet
|
|
|
|
copy_hieradata: False
|
2016-01-19 16:14:13 +00:00
|
|
|
copy_puppet: False
|
2015-11-25 16:31:23 +00:00
|
|
|
- hosts: "git0*:!disabled"
|
2016-07-12 17:56:46 +00:00
|
|
|
strategy: free
|
2015-11-23 14:36:52 +00:00
|
|
|
gather_facts: true
|
2014-04-16 00:41:45 +00:00
|
|
|
max_fail_percentage: 1
|
|
|
|
roles:
|
2015-02-10 00:55:48 +00:00
|
|
|
- role: puppet
|
|
|
|
facts:
|
|
|
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
2015-11-25 16:31:23 +00:00
|
|
|
- hosts: "review.openstack.org:!disabled"
|
2016-07-12 17:56:46 +00:00
|
|
|
strategy: free
|
2015-11-23 14:36:52 +00:00
|
|
|
gather_facts: true
|
2014-04-16 00:41:45 +00:00
|
|
|
roles:
|
2015-02-10 00:55:48 +00:00
|
|
|
- role: puppet
|
|
|
|
facts:
|
|
|
|
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
2017-01-12 19:15:47 +00:00
|
|
|
vars:
|
|
|
|
puppet_timeout: 60m
|