radvd: Install and configure radvd

The *radvd* role and `radvd.yml` playbook can be used to configure the
`radvd` IPv6 SLAAC router advertisement daemon on Linux.
This commit is contained in:
2018-03-13 23:22:37 -05:00
parent 2a5b257943
commit 1973378e75
6 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
- name: ensure radvd is installed
package:
name=radvd
state=present
tags:
- install
- name: ensure radvd is configured
template:
src=radvd.conf.j2
dest=/etc/radvd.conf
mode=0644
notify: restart radvd
- name: ensure radvd starts at boot
service:
name=radvd
enabled=yes
- meta: flush_handlers
- name: ensure radvd is running
service:
name=radvd
state=started