ansible-edda/playbooks/roles/services/backups/tasks/main.yml

26 lines
1.0 KiB
YAML

- name: "play:services : role:backups:{{ services_service_name }} : tasks:vars"
ansible.builtin.import_role:
name: "services/include"
vars_from: "user"
tags:
- "services:backups:snapshots"
- "services:backups:{{ services_service_name }}:snapshots"
- "services:{{ services_service_name }}:backups:snapshots"
- "services:backups:restic"
- "services:backups:{{ services_service_name }}:restic"
- "services:{{ services_service_name }}:backups:restic"
- name: "play:services : role:backups : tasks:snapshots"
ansible.builtin.import_tasks: "include/snapshots.yml"
tags:
- "services:backups:snapshots"
- "services:backups:{{ services_service_name }}:snapshots"
- "services:{{ services_service_name }}:backups:snapshots"
- name: "play:services : role:backups : tasks:restic"
ansible.builtin.import_tasks: "include/restic.yml"
tags:
- "services:backups:restic"
- "services:backups:{{ services_service_name }}:restic"
- "services:{{ services_service_name }}:backups:restic"