blob: 60394eb331080bf0a2194c0e87817ecbf003aedc [file] [log] [blame]
Scott Baker64b889b2015-05-05 17:53:12 -07001---
2- hosts: {{ sliver_name }}
3 connection: ssh
4 user: ubuntu
5 sudo: yes
6 vars:
7 cdn_enable: {{ cdn_enable }}
8 dnsdemux_ip: {{ dnsdemux_ip }}
9 firewall_enable: {{ firewall_enable }}
10 url_filter_enable: {{ url_filter_enable }}
Scott Baker81a21232015-05-05 18:01:51 -070011 vlan_ids:
12 {% for vlan_id in vlan_ids %}
13 - {{ vlan_id }}
14 {% endfor %}
Scott Baker64b889b2015-05-05 17:53:12 -070015 tasks:
16 - name: make sure /etc/dnsmasq.d exists
17 file: path=/etc/dnsmasq.d state=directory owner=root group=root
18
19 - name: configure dnsmasq servers
20 template: src=/opt/xos/observers/vcpe/templates/dnsmasq_servers.j2 dest=/etc/dnsmasq.d/servers.conf owner=root group=root
21
22 - name: setup networking
23 template: src=/opt/xos/observers/vcpe/templates/vlan_sample.j2 dest=/etc/vlan_sample owner=root group=root