aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml')
-rw-r--r--resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml14
1 files changed, 13 insertions, 1 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml
index 3513bb7132..c8d72475d8 100644
--- a/resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml
+++ b/resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml
@@ -11,7 +11,7 @@
- "ib_uverbs"
- "mlx4_ib"
- "mlx5_ib"
- notify: "Reload systemd-modules"
+ notify: "Azure - Reload systemd-modules"
tags:
- load-kernel-modules
@@ -24,3 +24,15 @@
reload: "yes"
tags:
- set-sysctl
+
+- name: Azure - prevent interface renaming
+ copy:
+ src: "files/10-dtap.link"
+ dest: "/etc/systemd/network/"
+ owner: "root"
+ group: "root"
+ mode: "0644"
+ notify:
+ - "Reboot server"
+ tags:
+ - prevent-interface-renaming