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