aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-08-09 13:40:18 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-08-09 13:40:18 +0300
commit187b862f25af5932de43cca4f84dfac41a81842d (patch)
treea31c3c2560f22438e795efdec86f406ed225f9ca
parentfactor out handlers to role "common" (diff)
downloadmaintenance-187b862f25af5932de43cca4f84dfac41a81842d.tar.gz
maintenance-187b862f25af5932de43cca4f84dfac41a81842d.zip
"etckeeper" role is a dependency
-rw-r--r--maintenance.yml1
-rw-r--r--roles/apt/meta/main.yml1
-rw-r--r--roles/pacman/meta/main.yml1
-rw-r--r--roles/snap/meta/main.yml2
4 files changed, 4 insertions, 1 deletions
diff --git a/maintenance.yml b/maintenance.yml
index 411bafe..7092530 100644
--- a/maintenance.yml
+++ b/maintenance.yml
@@ -1,7 +1,6 @@
- name: Maintenance
hosts: all
roles:
- - etckeeper
- snap
- apt
- pacman
diff --git a/roles/apt/meta/main.yml b/roles/apt/meta/main.yml
index 9711b33..3d3d0a1 100644
--- a/roles/apt/meta/main.yml
+++ b/roles/apt/meta/main.yml
@@ -1,2 +1,3 @@
dependencies:
- role: common
+ - role: etckeeper
diff --git a/roles/pacman/meta/main.yml b/roles/pacman/meta/main.yml
index 9711b33..3d3d0a1 100644
--- a/roles/pacman/meta/main.yml
+++ b/roles/pacman/meta/main.yml
@@ -1,2 +1,3 @@
dependencies:
- role: common
+ - role: etckeeper
diff --git a/roles/snap/meta/main.yml b/roles/snap/meta/main.yml
new file mode 100644
index 0000000..cc61eb8
--- /dev/null
+++ b/roles/snap/meta/main.yml
@@ -0,0 +1,2 @@
+dependencies:
+ - role: etckeeper