5dd32fc501
As noted in [1] the group_names variable is a top-level variable and doesn't need to be accessed via the hostvars object. [1] https://review.openstack.org/#/c/572861/1/playbooks/remote_puppet_adhoc.yaml Change-Id: Ic895f177019b31da34cdf91a6dd62dc99a649754
9 lines
201 B
YAML
9 lines
201 B
YAML
- hosts: '*'
|
|
strategy: free
|
|
gather_facts: true
|
|
roles:
|
|
- role: puppet
|
|
manage_config: True
|
|
puppet_reports: none
|
|
futureparser: "{{ True if 'futureparser' in group_names else False }}"
|