Fix linting errors
parent
d1af71f4fb
commit
dc46ba95fe
|
@ -16,6 +16,7 @@
|
||||||
template:
|
template:
|
||||||
src: templates/nginx.conf.j2
|
src: templates/nginx.conf.j2
|
||||||
dest: /etc/nginx/conf.d/{{ node_exporter_domain }}.conf
|
dest: /etc/nginx/conf.d/{{ node_exporter_domain }}.conf
|
||||||
|
mode: 0600
|
||||||
notify: Check and Reload nginx
|
notify: Check and Reload nginx
|
||||||
|
|
||||||
- name: Install apache2-utils
|
- name: Install apache2-utils
|
||||||
|
@ -35,5 +36,6 @@
|
||||||
|
|
||||||
- name: Set Login credentials
|
- name: Set Login credentials
|
||||||
become: yes
|
become: yes
|
||||||
shell:
|
command:
|
||||||
cmd: "htpasswd -b /etc/nginx/.htpasswd prometheus {{ prometheus_pass }}"
|
cmd: "htpasswd -b /etc/nginx/.htpasswd prometheus {{ prometheus_pass }}"
|
||||||
|
changed_when: False
|
||||||
|
|
Loading…
Reference in New Issue