summaryrefslogtreecommitdiffstats
path: root/ansible/roles/gsm-tester/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/gsm-tester/tasks/main.yml')
-rw-r--r--ansible/roles/gsm-tester/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/roles/gsm-tester/tasks/main.yml b/ansible/roles/gsm-tester/tasks/main.yml
index 8a854bd..c9b7429 100644
--- a/ansible/roles/gsm-tester/tasks/main.yml
+++ b/ansible/roles/gsm-tester/tasks/main.yml
@@ -274,3 +274,15 @@
src: 64-limesuite.rules
dest: /etc/udev/rules.d/
notify: restart udev
+
+- name: use persistent naming for modem network interfaces
+ copy:
+ src: 70-net-setup-link-modems.rules
+ dest: /etc/udev/rules.d/
+ notify: restart udev
+
+- name: avoid dhcpcd managing modem interfaces and racing with udev rename
+ lineinfile:
+ path: /etc/dhcpcd.conf
+ regexp: '^denyinterfaces'
+ line: 'denyinterfaces ww* r*'