ansible/roles/radvd/tasks/main.yml
2020-11-04 20:00:35 +01:00

20 lines
416 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