openqa/worker: drop (I think) unnecessary bridge status check

I think the notify restart of network.service should deal with
this on first deployment, so get rid of it.
This commit is contained in:
Adam Williamson
2016-04-27 21:17:16 -07:00
parent 5e296b4b4a
commit 1ed4fa2e31

View File

@@ -74,17 +74,6 @@
tags:
- config
- name: Check if bridge is down
shell: "nmcli con show --active | grep ^br0"
register: brstatus
failed_when: "1 != 1"
changed_when: "1 != 1"
always_run: true
- name: Bring up bridge if necessary
command: ifup br0
when: "brstatus.rc > 0"
- name: Install ifup-pre-local script to create tap devices
copy: src=ifup-pre-local dest=/sbin/ifup-pre-local owner=root group=root mode=0755