Add r10k config and fix puppet.conf to use
This commit is contained in:
parent
b6f0e5d137
commit
c775d96ef1
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- name: Ensure puppet server master section is configured
|
||||
ini_file:
|
||||
path: /etc/puppetlabs/puppet.conf
|
||||
path: /etc/puppetlabs/puppet/puppet.conf
|
||||
section: master
|
||||
option: "{{ item.key }}"
|
||||
value: "{{ item.value }}"
|
||||
|
@ -13,7 +13,7 @@
|
|||
|
||||
- name: Ensure puppet server server section is configured
|
||||
ini_file:
|
||||
path: /etc/puppetlabs/puppet.conf
|
||||
path: /etc/puppetlabs/puppet/puppet.conf
|
||||
section: server
|
||||
option: "{{ item.key }}"
|
||||
value: "{{ item.value }}"
|
||||
|
@ -122,3 +122,8 @@
|
|||
name: puppetserver
|
||||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: Ensure r10k is configured
|
||||
copy:
|
||||
dest: /etc/puppetlabs/r10k/r10k.yaml
|
||||
content: "{{ r10k_config | to_nice_yaml }}"
|
Loading…
Reference in a new issue