Trying to get ifup ifdown to not get stuck

This commit is contained in:
2018-05-11 11:31:27 -04:00
parent 5668e36720
commit c1fab6222c

View File

@@ -10,6 +10,9 @@
template: src=../roles/configure-interfaces/templates/eth.cfg.j2 dest=/etc/network/interfaces.d/{{ interface_name }}.cfg
- name: Up down interface
raw: ifdown {{ interface_name }} && ifup {{ interface_name }}
shell: ifdown {{ interface_name }} && ifup {{ interface_name }}
async: 0
poll: 0
ignore_errors: true
vars:
interface_name: eth0