Add ACL for puppet
This commit is contained in:
parent
2c5121dbcd
commit
f2b9732ea3
1 changed files with 8 additions and 0 deletions
|
@ -176,6 +176,14 @@
|
||||||
option: reports
|
option: reports
|
||||||
value: prometheus
|
value: prometheus
|
||||||
|
|
||||||
|
- name: Add ACL for user puppet to write in node-exporter folder
|
||||||
|
ansible.posix.acl:
|
||||||
|
path: /var/lib/prometheus/node-exporter/
|
||||||
|
entity: puppet
|
||||||
|
etype: user
|
||||||
|
permissions: rwx
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Ensure hiera-eyaml is installed
|
- name: Ensure hiera-eyaml is installed
|
||||||
shell: "{{ which_puppetserver.stdout }} gem install hiera-eyaml"
|
shell: "{{ which_puppetserver.stdout }} gem install hiera-eyaml"
|
||||||
args:
|
args:
|
||||||
|
|
Loading…
Reference in a new issue