summaryrefslogtreecommitdiffstats
path: root/ansible/roles/gsm-tester
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-02-17 17:16:38 +0100
committerlaforge <laforge@osmocom.org>2020-02-21 20:09:11 +0000
commit584acbb7ab08c6cb8a13b4106762afcd5fe8af23 (patch)
treeeb1fd5a1648977875e29a93fb525d73cb858afb6 /ansible/roles/gsm-tester
parent90987935bcfb582fd96cd20f45456a3a87e1c0f2 (diff)
ansible: gsm-tester: Create remote rundir directories
These directories are needed by osmo-gsm-tester to copy in some binaries and helper files required in the remote run node. Change-Id: I802bdcc79e7787052364f6518e868d741cb040ac
Diffstat (limited to 'ansible/roles/gsm-tester')
-rw-r--r--ansible/roles/gsm-tester/tasks/main.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/ansible/roles/gsm-tester/tasks/main.yml b/ansible/roles/gsm-tester/tasks/main.yml
index db2a16c..eff4939 100644
--- a/ansible/roles/gsm-tester/tasks/main.yml
+++ b/ansible/roles/gsm-tester/tasks/main.yml
@@ -424,6 +424,22 @@
tags:
- modem
+- name: create remote rundir directories
+ file:
+ path: "/osmo-gsm-tester-{{ item }}"
+ state: directory
+ group: osmo-gsm-tester
+ mode: g+rwxs
+ with_items:
+ - srsenb
+ - srsepc
+ - srsue
+ - trx
+ tags:
+ - osmo-gsm-tester-proc
+ - osmocom
+ - srs
+
- name: avoid dhcpcd managing modem interfaces and racing with udev rename
lineinfile:
path: /etc/dhcpcd.conf