summaryrefslogtreecommitdiff
path: root/roles/install_radvd/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/install_radvd/tasks')
-rw-r--r--roles/install_radvd/tasks/main.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/install_radvd/tasks/main.yml b/roles/install_radvd/tasks/main.yml
new file mode 100644
index 0000000..161e7a1
--- /dev/null
+++ b/roles/install_radvd/tasks/main.yml
@@ -0,0 +1,17 @@
+---
+- name: install radvd
+ pacman:
+ name: radvd
+ state: present
+
+- name: radvd config
+ template:
+ src: radvd.conf.j2
+ dest: /etc/radvd.conf
+ notify: restart radvd
+
+- name: start and enable radvd
+ systemd:
+ name: radvd.service
+ enabled: yes
+ state: started