aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--roles/linux_status/meta/main.yml6
-rw-r--r--roles/linux_status/tasks/main.yml8
-rw-r--r--roles/wireguard/meta/main.yml3
-rw-r--r--roles/wireguard/tasks/main.yml5
4 files changed, 9 insertions, 13 deletions
diff --git a/roles/linux_status/meta/main.yml b/roles/linux_status/meta/main.yml
new file mode 100644
index 0000000..df1d198
--- /dev/null
+++ b/roles/linux_status/meta/main.yml
@@ -0,0 +1,6 @@
+dependencies:
+ - role: ppa
+ vars:
+ ppa_owner: egor-tensin
+ ppa_name: linux-status
+ ppa_key: ecb69cbafc6d7cd8bd67ec35b1089b3051c9384d
diff --git a/roles/linux_status/tasks/main.yml b/roles/linux_status/tasks/main.yml
index 17a00d3..6a9f1f1 100644
--- a/roles/linux_status/tasks/main.yml
+++ b/roles/linux_status/tasks/main.yml
@@ -1,11 +1,3 @@
-- name: Set up repository
- ansible.builtin.include_role:
- name: ppa
- vars:
- ppa_owner: egor-tensin
- ppa_name: linux-status
- ppa_key: ecb69cbafc6d7cd8bd67ec35b1089b3051c9384d
-
- name: Disable power management
when: linux_status_disable_power_management
become: true
diff --git a/roles/wireguard/meta/main.yml b/roles/wireguard/meta/main.yml
new file mode 100644
index 0000000..4f84662
--- /dev/null
+++ b/roles/wireguard/meta/main.yml
@@ -0,0 +1,3 @@
+dependencies:
+ - role: router
+ when: wg_router
diff --git a/roles/wireguard/tasks/main.yml b/roles/wireguard/tasks/main.yml
index 279ffd0..f6a09cb 100644
--- a/roles/wireguard/tasks/main.yml
+++ b/roles/wireguard/tasks/main.yml
@@ -1,8 +1,3 @@
-- name: Set up traffic routing
- ansible.builtin.include_role:
- name: router
- when: wg_router
-
- name: Set up Wireguard
become: true
block: