Correct loops in email playbook.
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
body: Backup der Anwendung wurde erstellt.
|
||||
attach:
|
||||
- "{{ backup_location }}/{{ item[0].name }}/{{ item[0].database[0].container }}-{{ date }}.sql.gz"
|
||||
loop: "{{ containers | subelements('email', skip_missing=true) }}"
|
||||
loop_control:
|
||||
label: "{{ item[1] }}"
|
||||
|
||||
loop: "{{ containers | subelements('email', skip_missing=true) }}"
|
||||
loop_control:
|
||||
label: "{{ item[1] }}"
|
||||
|
||||
Reference in New Issue
Block a user