added toggle to no_log

This commit is contained in:
Virgile Retault 2022-07-21 19:09:47 +02:00
parent e5ce16268f
commit 32b3a71f1e

View file

@ -29,7 +29,7 @@
encrypted: yes encrypted: yes
password: "{{ item.password }}" password: "{{ item.password }}"
loop: "{{ postgres_users }}" loop: "{{ postgres_users }}"
no_log: true no_log: {{ enable_no_log | default('true') }}
- name: Create databases - name: Create databases
become: true become: true