blob: 5cc3a15e2677072a3f164b139f223f43b926185f [file] [log] [blame]
- name: Ensure interface config files
template:
src: templates/ethX.cfg.j2
dest: /etc/network/interfaces.d/{{ item }}.cfg
with_items:
- eth2
- eth3
- eth4
- eth5
- name: Ensure interfaces are up
command: ifup {{ item }}
with_items:
- eth2
- eth3
- eth4
- eth5
tags:
- skip_ansible_lint # running a sub job
- name: Ensure fabric configuration
include: fabric.yml
when: fabric
- name: Ensure bridge configuration
include: bridge.yml
when: not fabric