Commit befd0e8f authored by Alain Takoudjou's avatar Alain Takoudjou

playbool vm-bootstrap: correctly check if iface eth1 exists

parent dbe19c4d
......@@ -14,8 +14,9 @@
ignore_errors: True
- name: Check interface eth1 exists
shell: /sbin/ifconfig | grep eth1 | wc -l
shell: /sbin/ifconfig eth1 | grep eth1 | wc -l
register: iface_eth1
ignore_errors: True
- name: Delete default route to eth0
command: /sbin/ip route del default
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment