diff --git a/tasks/configure.yml b/tasks/configure.yml index 755029b..63ebd7f 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -176,6 +176,14 @@ option: reports 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 shell: "{{ which_puppetserver.stdout }} gem install hiera-eyaml" args: