diff options
author | uvok cheetah | 2023-08-10 18:09:46 +0200 |
---|---|---|
committer | uvok cheetah | 2023-08-10 18:09:46 +0200 |
commit | 5ecf4925c28f7fd1346a952052279963070b23ce (patch) | |
tree | e97d96c0d7458684c64bf0e99ec8816381280fcd | |
parent | cdd474a036244380c6e6dad589e5ede752c8f89b (diff) |
Add "router" tole + playbook
-rw-r--r-- | roles/common/tasks/main.yml | 7 | ||||
-rw-r--r-- | roles/router/tasks/main.yml | 7 | ||||
-rw-r--r-- | router.yml | 6 |
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" + |