fixed no_log toggle

This commit is contained in:
Virgile Retault 2022-07-21 21:07:19 +02:00
parent aeb0c272c7
commit 0dba0bbd58
6 changed files with 8 additions and 8 deletions

View file

@ -47,7 +47,7 @@
group: apt-cacher-ng group: apt-cacher-ng
mode: '640' mode: '640'
notify: Restart apt-cacher-ng notify: Restart apt-cacher-ng
no_log: {{ enable_no_log | default('true') }} no_log: "{{ enable_no_log | default('true') }}"
# This is uggly, and overkill # This is uggly, and overkill
- name: Set cron job to clear the cache - name: Set cron job to clear the cache

View file

@ -79,7 +79,7 @@
dest: "/tmp/ansible_hacky_pki_ca.key" dest: "/tmp/ansible_hacky_pki_ca.key"
mode: u=rw,g=,o= mode: u=rw,g=,o=
delegate_to: localhost delegate_to: localhost
no_log: {{ enable_no_log | default('true') }} no_log: "{{ enable_no_log | default('true') }}"
- name: Sign the certificate - name: Sign the certificate
become: false become: false
@ -100,7 +100,7 @@
owner: "{{ owner | default('root') }}" owner: "{{ owner | default('root') }}"
group: "{{ group | default('root') }}" group: "{{ group | default('root') }}"
mode: "{{ key_mode | default('u=rw,g=,o=') }}" mode: "{{ key_mode | default('u=rw,g=,o=') }}"
no_log: {{ enable_no_log | default('true') }} no_log: "{{ enable_no_log | default('true') }}"
- name: Send certificate to the server - name: Send certificate to the server
copy: copy:

View file

@ -35,7 +35,7 @@
group: nogroup group: nogroup
mode: '0600' mode: '0600'
notify: Restart kassandra notify: Restart kassandra
no_log: {{ enable_no_log | default('true') }} no_log: "{{ enable_no_log | default('true') }}"
- name: Copy the CA cert - name: Copy the CA cert
copy: copy:

View file

@ -42,7 +42,7 @@
group: prometheus group: prometheus
mode: '0640' mode: '0640'
notify: Restart blackbox-exporter notify: Restart blackbox-exporter
no_log: {{ enable_no_log | default('true') }} no_log: "{{ enable_no_log | default('true') }}"
#- name: Copy the web-config folder #- name: Copy the web-config folder
# template: # template:

View file

@ -59,7 +59,7 @@
group: prometheus group: prometheus
mode: '0640' mode: '0640'
notify: Restart prometheus notify: Restart prometheus
no_log: {{ enable_no_log | default('true') }} no_log: "{{ enable_no_log | default('true') }}"
- name: Add node targets file - name: Add node targets file
template: template:

View file

@ -12,7 +12,7 @@
owner: synapse_user owner: synapse_user
local: C local: C
template: template0 template: template0
no_log: {{ enable_no_log | default('true') }} no_log: "{{ enable_no_log | default('true') }}"
- name: Install apt utils - name: Install apt utils
apt: apt:
@ -60,7 +60,7 @@
src: homeserver.yaml src: homeserver.yaml
dest: /etc/matrix-synapse/homeserver.yaml dest: /etc/matrix-synapse/homeserver.yaml
notify: Restart synapse notify: Restart synapse
no_log: {{ enable_no_log | default('true') }} no_log: "{{ enable_no_log | default('true') }}"
# --- DRAFT --- # --- DRAFT ---
- name: Install nginx - name: Install nginx