summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/common/tasks/main.yml7
-rw-r--r--roles/router/tasks/main.yml7
-rw-r--r--router.yml6
3 files changed, 20 insertions, 0 deletions
diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml
new file mode 100644
index 0000000..a649f95
--- /dev/null
+++ b/roles/common/tasks/main.yml
@@ -0,0 +1,7 @@
+---
+- name: install basic
+ package:
+ name:
+ - rsync
+ - psmisc
+ state: present
diff --git a/roles/router/tasks/main.yml b/roles/router/tasks/main.yml
new file mode 100644
index 0000000..ae59099
--- /dev/null
+++ b/roles/router/tasks/main.yml
@@ -0,0 +1,7 @@
+---
+- name: install routing software
+ package:
+ name:
+ - tinc
+ - bird2
+ state: present
diff --git a/router.yml b/router.yml
new file mode 100644
index 0000000..0c6191b
--- /dev/null
+++ b/router.yml
@@ -0,0 +1,6 @@
+---
+- hosts: routing
+ roles:
+ - role: "roles/router"
+ - role: "roles/common"
+