Add argus service for update management
This commit is contained in:
parent
89ced72d09
commit
d0f96ef6cd
1 changed files with 208 additions and 6 deletions
|
|
@ -1,9 +1,20 @@
|
|||
---
|
||||
- name: Prepare opentofu
|
||||
hosts: localhost
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Import tasks to prepare opentofu
|
||||
ansible.builtin.import_tasks: tasks/prepare-opentofu.yml
|
||||
|
||||
- name: Stop and backup services
|
||||
hosts: serguzim_net
|
||||
vars:
|
||||
host_services: "{{ all_services | services_for_host(inventory_hostname) }}"
|
||||
tasks:
|
||||
- name: Load secrets
|
||||
ansible.builtin.import_tasks: tasks/load-secrets.yml
|
||||
tags: always
|
||||
|
||||
- name: Get unused services
|
||||
ansible.builtin.include_tasks:
|
||||
file: tasks/get-unused.yml
|
||||
|
|
|
|||
Loading…
Reference in a new issue