8025-refactor-awx_Task_Bacula_hide_stdout_with_no_log_true_in_Convert #37

Merged
xavi merged 2 commits from 8025-refactor-awx_Task_Bacula_hide_stdout_with_no_log_true_in_Convert into main 2024-10-22 11:24:58 +00:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit b19c768e3b - Show all commits

View File

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