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

27 lines
1.0 KiB
YAML
Raw Normal View History

2022-12-18 23:43:40 +01:00
---
2022-12-18 00:44:32 +01:00
- name: "play:services : role:backups:{{ services_service_name }} : tasks:vars"
ansible.builtin.import_role:
2022-12-18 19:36:21 +01:00
name: "services/include"
2022-12-18 00:44:32 +01:00
vars_from: "user"
tags:
2022-12-18 17:06:27 +01:00
- "services:backups:snapshots"
2022-12-18 00:44:32 +01:00
- "services:backups:{{ services_service_name }}:snapshots"
- "services:{{ services_service_name }}:backups:snapshots"
2022-12-18 17:06:27 +01:00
- "services:backups:restic"
- "services:backups:{{ services_service_name }}:restic"
- "services:{{ services_service_name }}:backups:restic"
2022-12-18 00:44:32 +01:00
- 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"
2022-12-18 17:06:27 +01:00
- 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"