9ce4a353e6
If a host is a member of the 'futureparser' group, pass the 'futureparser' option to the puppet role, which will turn on parser = future in puppet.conf when manage_config is true and when the node isn't already using puppet 4. Nodes can be added one at a time by adding them to modules/openstack_project/files/puppetmaster/groups.txt. Depends-On: https://review.openstack.org/572856 Change-Id: I54e19ef6164658da8e0e5bff72a1964b88b81242
9 lines
325 B
YAML
9 lines
325 B
YAML
- hosts: '!review:!git0*:!zuul-scheduler:!afs*:!baremetal*:!controller*:!compute*:!puppetmaster*:!disabled'
|
|
strategy: free
|
|
gather_facts: true
|
|
roles:
|
|
- role: puppet
|
|
manage_config: True
|
|
puppet_reports: none
|
|
futureparser: "{{ True if 'futureparser' in hostvars[inventory_hostname].group_names else False }}"
|