aboutsummaryrefslogtreecommitdiffstats
path: root/tasks/main.yml
blob: 6feca7944d977515fa8a3228dc7d6c5dff78e94e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: Install dependencies
  ansible.builtin.include_tasks: installation.yml
  when: state == "present"

- name: Run setup on server
  ansible.builtin.include_tasks: server_setup.yml
  when: state == "present"

- name: Run setup on client
  ansible.builtin.include_tasks: client_setup.yml
  when: state == "present"

- name: Remove borg backup configuration
  ansible.builtin.include_tasks: absent.yml
  when: state == "absent"