pbs_integration: enable no_log

This commit is contained in:
Michael Grote 2024-07-09 21:48:33 +02:00
parent f263d0075c
commit c2c8a67c97

View file

@ -12,6 +12,7 @@
ansible.builtin.command: "pvesm add pbs {{ item.name }} --server {{ item.server }} --datastore {{ item.datastore }} --username {{ item.username }} --password {{ item.password }} --fingerprint {{ item.fingerprint }}" ansible.builtin.command: "pvesm add pbs {{ item.name }} --server {{ item.server }} --datastore {{ item.datastore }} --username {{ item.username }} --password {{ item.password }} --fingerprint {{ item.fingerprint }}"
loop: "{{ pve_pbs_datastore }}" loop: "{{ pve_pbs_datastore }}"
when: "item.name not in storages.stdout" when: "item.name not in storages.stdout"
no_log: true
- name: ensure datastore is configured - name: ensure datastore is configured
become: true become: true
@ -19,3 +20,4 @@
loop: "{{ pve_pbs_datastore }}" loop: "{{ pve_pbs_datastore }}"
when: "item.name in storages.stdout" when: "item.name in storages.stdout"
changed_when: false changed_when: false
no_log: true