system-config/playbooks/remote_puppet_adhoc.yaml
Colleen Murphy 5dd32fc501 Simplify group_names variable
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
2018-06-20 23:53:26 +02:00

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 }}"