ansible/roles/radvd/tasks/main.yml
2020-08-01 17:48:39 +02:00

23 lines
419 B
YAML

---
# Warning: radvd installation seems to fail if the configuration
# file doesn't already exist when the package is installed,
# so the order is important.
- name: Configure radvd
template:
src: radvd.conf.j2
dest: /etc/radvd.conf
mode: 0644
notify: restart radvd
tags:
- radconf
- name: Install radvd
apt:
update_cache: true
name: radvd
state: present
notify: restart radvd