Jedrzej Nowak 1b28b8f3c4 Change resources structure to match repository one
Change-Id: Ie8d8c092e64890af2f0886303ef3f16752ba5b76
2015-12-18 18:01:20 +01:00

17 lines
415 B
YAML

- hosts: '*'
sudo: yes
vars:
id: 42
group: 239.1.10.2
parent: eth1
master: br-test0
tasks:
- name: add vxlan mesh
shell: ip l add vxlan{{id}} type vxlan id {{id}}
group {{group}} dev {{parent}}
ignore_errors: true
- name: set vxlan master
shell: ip l set vxlan{{id}} master {{master}}
- name: set vxlan tunnel up
shell: ip l set vxlan{{id}} up