Set gather_facts true in ansible playbooks
This is need to support ansible built-in facts used by puppet-ansible Change-Id: Id8d14905e12c1d25c49322dd4c418b3f47c0d7c4
This commit is contained in:
parent
95ec468d37
commit
ba06551181
@ -1,5 +1,5 @@
|
||||
---
|
||||
- hosts: "afs*"
|
||||
gather_facts: false
|
||||
gather_facts: true
|
||||
roles:
|
||||
- role: puppet
|
||||
|
@ -1,4 +1,4 @@
|
||||
- hosts: '!review.openstack.org:!git0*:!afs*'
|
||||
gather_facts: false
|
||||
gather_facts: true
|
||||
roles:
|
||||
- role: puppet
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
gather_facts: false
|
||||
gather_facts: true
|
||||
connection: local
|
||||
tasks:
|
||||
# Note that git module does ls-remote if clone is set to no and places
|
||||
@ -8,14 +8,14 @@
|
||||
- git: repo=https://git.openstack.org/openstack-infra/project-config clone=no
|
||||
register: gitinfo
|
||||
- hosts: git0*
|
||||
gather_facts: false
|
||||
gather_facts: true
|
||||
max_fail_percentage: 1
|
||||
roles:
|
||||
- role: puppet
|
||||
facts:
|
||||
project_config_ref: "{{ hostvars.localhost.gitinfo.after }}"
|
||||
- hosts: review.openstack.org
|
||||
gather_facts: false
|
||||
gather_facts: true
|
||||
roles:
|
||||
- role: puppet
|
||||
facts:
|
||||
|
Loading…
Reference in New Issue
Block a user