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:
Isaac Beckman 2015-11-23 16:36:52 +02:00
parent 95ec468d37
commit ba06551181
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
---
- hosts: "afs*"
gather_facts: false
gather_facts: true
roles:
- role: puppet

View File

@ -1,4 +1,4 @@
- hosts: '!review.openstack.org:!git0*:!afs*'
gather_facts: false
gather_facts: true
roles:
- role: puppet

View File

@ -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: