Change in osmo-ci[master]: ansible: gsm-tester-network: start all network interfaces after addin...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

lynxis lazus gerrit-no-reply at lists.osmocom.org
Tue Jun 5 16:59:33 UTC 2018


lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9457


Change subject: ansible: gsm-tester-network: start all network interfaces after adding new ones
......................................................................

ansible: gsm-tester-network: start all network interfaces after adding new ones

Change-Id: I197dadb68cffeba4c451d2fbfe40075039a67cb8
---
M ansible/roles/gsm-tester-network/tasks/main.yml
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/57/9457/1

diff --git a/ansible/roles/gsm-tester-network/tasks/main.yml b/ansible/roles/gsm-tester-network/tasks/main.yml
index c331b71..0a023a7 100644
--- a/ansible/roles/gsm-tester-network/tasks/main.yml
+++ b/ansible/roles/gsm-tester-network/tasks/main.yml
@@ -4,3 +4,8 @@
   template:
     src: interface.j2
     dest: /etc/network/interfaces.d/gsm-tester
+  register: gsm_tester_network_interface
+
+- name: start all network interface
+  command: ifup -a
+  when: gsm_tester_network_interface | changed

-- 
To view, visit https://gerrit.osmocom.org/9457
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I197dadb68cffeba4c451d2fbfe40075039a67cb8
Gerrit-Change-Number: 9457
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180605/915c580a/attachment.htm>


More information about the gerrit-log mailing list