Refactor all_services to remove name attribute
This commit is contained in:
parent
6f9f888478
commit
1d14ac888e
16 changed files with 42 additions and 71 deletions
playbooks/roles/backup/vars
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
backup_list: "{{ host_services | map(attribute='backup') | flatten }}"
|
||||
backup_list_all: "{{ all_services | map(attribute='backup') | flatten }}"
|
||||
backup_list: "{{ host_services | services_get_attr('backup') | flatten }}"
|
||||
backup_list_all: "{{ all_services | services_get_attr('backup') | flatten }}"
|
||||
|
||||
backup_msg_start: "Backup started"
|
||||
backup_msg_fail: "Backup failed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue