system-config/playbooks/update_puppet.yaml
Monty Taylor 7cee605a77 Add shade and openstack inventory to system
We're not ready to move from puppet inventory to openstack inventory
just yet, so don't actually swap the dynamic inventory plugin. But, add
it to the system so that running manual tests of all of the pieces is
possible.

Add the currently administratively disabled hosts to the disabled group
so that we can verify this works.

Change-Id: I73931332b2917b71a008f9213365f7594f69c41e
2015-11-28 15:59:10 -05:00

21 lines
467 B
YAML

---
- hosts: '!puppetmaster.openstack.org:!disabled'
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