Merge "Use the puppet role to copy the puppet code"
This commit is contained in:
commit
035829ace3
@ -1,2 +1,4 @@
|
|||||||
puppetmaster: puppetmaster.openstack.org
|
puppetmaster: puppetmaster.openstack.org
|
||||||
copy_hieradata: true
|
copy_hieradata: true
|
||||||
|
copy_puppet: true
|
||||||
|
manifest_base: /etc/system-config
|
||||||
|
@ -13,22 +13,3 @@
|
|||||||
- shell: ansible-galaxy install --force -r roles.yaml
|
- shell: ansible-galaxy install --force -r roles.yaml
|
||||||
args:
|
args:
|
||||||
chdir: /opt/system-config/production
|
chdir: /opt/system-config/production
|
||||||
- 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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user