Add ACL for puppet

This commit is contained in:
Antonio J. Delgado 2022-12-01 14:44:52 +02:00
parent 2c5121dbcd
commit f2b9732ea3

View file

@ -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: