ansible/roles/radvd/tasks/main.yml

19 lines
330 B
YAML
Raw Normal View History

2018-01-23 23:57:23 +01:00
---
- name: Install radvd
apt: name={{ item }}
with_items:
- radvd
- name: Configure radvd
template: src={{ item }}.j2 dest=/etc/{{ item }}
tags: radvd
notify: Restart radvd
with_items:
- radvd.conf
- name: Start the radvd service
service: name={{ item }} state=started enabled=yes
with_items:
- radvd