node-exporter works (mostly) as expected
This commit is contained in:
parent
76fe54cd3e
commit
ac4aeb5212
@ -24,4 +24,7 @@ deploy_adguard_node_exporter:
|
||||
log_limit: 10000
|
||||
deploy_adguard_consul:
|
||||
enable: false
|
||||
consul_protocol: http
|
||||
consul_addr: 127.0.0.1:8500
|
||||
consul_token: someUUIDhere
|
||||
deploy_adguard_config: {}
|
||||
|
@ -10,6 +10,8 @@
|
||||
notify:
|
||||
- systemctl-daemon-reload
|
||||
|
||||
- name: "Configure docker-compose deployment"
|
||||
block:
|
||||
- name: "Copy docker-compose.yml template"
|
||||
ansible.builtin.template:
|
||||
src: "docker-compose.yml.j2"
|
||||
@ -20,6 +22,14 @@
|
||||
notify:
|
||||
- systemctl-restart-adguard
|
||||
|
||||
- name: "Create password file for node-exporter"
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ deploy_adguard_directory }}/password"
|
||||
content: "{{ deploy_adguard_node_exporter['password'] }}"
|
||||
when: deploy_adguard_node_exporter['enable']
|
||||
notify:
|
||||
- systemctl-restart-adguard
|
||||
|
||||
- name: "Copy AdGuardHome.yaml"
|
||||
ansible.builtin.template:
|
||||
src: "AdGuardHome.yaml.j2"
|
||||
|
Loading…
Reference in New Issue
Block a user