2014-04-15 17:41:45 -07:00
|
|
|
---
|
2015-11-25 11:31:23 -05:00
|
|
|
- hosts: "localhost:!disabled"
|
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
|
2015-11-25 11:31:23 -05:00
|
|
|
- hosts: "git0*:!disabled"
|
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 }}"
|
2015-11-25 11:31:23 -05:00
|
|
|
- hosts: "review.openstack.org:!disabled"
|
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 }}"
|