fix lint errors #1

Merged
gcrkrause merged 1 commits from bug-260-pipeline-fails-onlyoffice-lint into main 2022-03-28 19:32:41 +02:00
1 changed files with 14 additions and 14 deletions

View File

@ -1,33 +1,33 @@
- name: Install prometheus node exporter
become: yes
apt:
become: true
ansible.builtin.apt:
name: prometheus-node-exporter
state: present
- name: Start and enable node exporter
become: yes
systemd:
become: true
ansible.builtin.systemd:
name: prometheus-node-exporter
state: started
enabled: yes
enabled: true
- name: Place reverse proxy conf
become: yes
template:
become: true
ansible.builtin.template:
src: templates/nginx.conf.j2
dest: /etc/nginx/conf.d/{{ node_exporter_domain }}.conf
mode: 0600
notify: Check and Reload nginx
- name: Install apache2-utils
become: yes
apt:
become: true
ansible.builtin.apt:
name: apache2-utils
state: present
- name: Setup htpasswd file
become: yes
file:
become: true
ansible.builtin.file:
path: "/etc/nginx/.htpasswd"
owner: www-data
group: www-data
@ -35,7 +35,7 @@
state: touch
- name: Set Login credentials
become: yes
command:
become: true
ansible.builtin.command:
cmd: "htpasswd -b /etc/nginx/.htpasswd prometheus {{ prometheus_pass }}"
changed_when: False
changed_when: false