configure main section
This commit is contained in:
parent
05b97057e4
commit
2c5121dbcd
1 changed files with 12 additions and 0 deletions
|
@ -55,6 +55,18 @@
|
||||||
loop: "{{ puppet_master_config | dict2items }}"
|
loop: "{{ puppet_master_config | dict2items }}"
|
||||||
notify: 'Restart puppetserver'
|
notify: 'Restart puppetserver'
|
||||||
|
|
||||||
|
- name: Ensure puppet server main section is configured
|
||||||
|
ini_file:
|
||||||
|
path: "{{ puppet_config_file }}"
|
||||||
|
section: main
|
||||||
|
option: "{{ item.key }}"
|
||||||
|
value: "{{ item.value }}"
|
||||||
|
mode: '0644'
|
||||||
|
backup: true
|
||||||
|
create: true
|
||||||
|
loop: "{{ puppet_master_config | dict2items }}"
|
||||||
|
notify: 'Restart puppetserver'
|
||||||
|
|
||||||
- name: Ensure puppet server server section is configured
|
- name: Ensure puppet server server section is configured
|
||||||
ini_file:
|
ini_file:
|
||||||
path: "{{ puppet_config_file }}"
|
path: "{{ puppet_config_file }}"
|
||||||
|
|
Loading…
Reference in a new issue