Refs #8025: Refactor-awx - Bacula task - no log true to hide stdout

This commit is contained in:
Xavi Lleó 2024-10-22 11:54:42 +02:00
parent 073ea0cc8c
commit b19c768e3b
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@
set_fact:
bacula_passwords: {}
- name: Convert lines to individual variables generating a new dict
no_log: true
set_fact:
bacula_passwords: "{{ bacula_passwords | combine({item.split(':')[0].lower(): item.split(':')[1] | regex_replace('\\n$', '') }) }}"
loop: "{{ passwords }}"