blob: ea25a5a2f168f7afabffba2d0ffbcc1769b3bc26 [file] [log] [blame]
Andy Bavier0f07bb32017-01-17 10:20:26 -05001- name: Ensure interface config files
2 template:
3 src: templates/ethX.cfg.j2
4 dest: /etc/network/interfaces.d/{{ item }}.cfg
5 with_items:
6 - eth2
7 - eth3
8
9- name: Ensure interfaces are up
10 command: ifup {{ item }}
11 with_items:
12 - eth2
13 - eth3
14 tags:
15 - skip_ansible_lint # running a sub job
16
17- name: Ensure fabric configuration
18 include: fabric.yml
19 when: fabric
20
21- name: Ensure bridge configuration
22 include: bridge.yml
23 when: not fabric
24