Remove explicit svc.name

This commit is contained in:
Tobias Reisinger 2024-10-13 21:48:04 +02:00
parent 09e886c712
commit dbb3075c82
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
67 changed files with 36 additions and 87 deletions
roles/backup

View file

@ -2,7 +2,7 @@
- name: Set common facts
ansible.builtin.import_tasks: tasks/set-default-facts.yml
- name: Deploy {{ svc.name }}
- name: Deploy {{ role_name }}
vars:
yml: "{{ backup_yml }}"
block:

View file

@ -1,8 +1,4 @@
---
backup_svc:
name: backup
backup_list: "{{ all_services | my_service_attributes(inventory_hostname, 'backup') }}"
backup_list_all: "{{ all_services | my_service_attributes('', 'backup') }}"