agaric-coop/box/provisioning/roles/franklinkim.newrelic/tasks/config.yml

19 lines
424 B
YAML

---
- name: Configuring module
template:
src: "{{ item }}.j2"
dest: "/{{ item }}"
owner: "{{ newrelic_user }}"
group: "{{ newrelic_group }}"
mode: "0640"
notify: restart newrelic
with_items:
- "etc/newrelic/nrsysmond.cfg"
- name: Configuring user groups
user:
name: "{{ newrelic_user }}"
groups: "{{ newrelic_groups|join(',') }}"
append: yes
when: not newrelic_disable_docker