system-config/playbooks/update_puppet.yaml
Spencer Krum b45869aeff Ensure hieradata directory on clients
Change-Id: I1b5dc10d58a3ad06ed63e5ede7e95dd0e22fbbe7
2015-11-27 11:04:20 -08:00

21 lines
457 B
YAML

---
- hosts: '!puppetmaster.openstack.org'
gather_facts: false
tasks:
- synchronize:
src: /opt/system-config/production
dest: /opt/system-config
- synchronize:
src: /etc/puppet/modules
dest: /etc/puppet
- file:
path: /etc/puppet/hieradata
state: directory
mode: 0700
owner: root
group: root
- file:
src: /etc/puppet/hieradata
dest: /opt/system-config/hieradata
state: link