summaryrefslogtreecommitdiff
path: root/roles/install_tayga/tasks
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2022-01-22 19:59:11 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2022-01-22 19:59:11 +0100
commitfb0dbf28a0e7979050858256d2040d734b282afe (patch)
tree153ac6d83de80fd39a6724e72a3beb6a56992300 /roles/install_tayga/tasks
parentb53a8cf2283b2d6debb94cd399a72d25da0d7c82 (diff)
new net with nat64
Diffstat (limited to 'roles/install_tayga/tasks')
-rw-r--r--roles/install_tayga/tasks/main.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/roles/install_tayga/tasks/main.yml b/roles/install_tayga/tasks/main.yml
new file mode 100644
index 0000000..0f38790
--- /dev/null
+++ b/roles/install_tayga/tasks/main.yml
@@ -0,0 +1,25 @@
+---
+- name: install tayga
+ pacman:
+ name: tayga
+ state: present
+
+- name: tayga.conf
+ template:
+ src: tayga.conf.j2
+ dest: /etc/tayga.conf
+ mode: 0644
+ notify: restart tayga
+
+- name: systemd override.conf
+ template:
+ src: systemd_override.conf.j2
+ dest: /etc/systemd/system/tayga.service.d/override.conf
+ mode: 0644
+ notify: restart tayga
+
+- name: start and enable tayga service
+ systemd:
+ name: tayga.service
+ enabled: yes
+ state: started