diff options
author | Maros Mullner <maros.mullner@pantheon.tech> | 2020-05-22 08:27:07 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-05-27 13:11:10 +0000 |
commit | 5d4c299d02072fd18ef175bfbf7c694e94db79a6 (patch) | |
tree | 2c68868b5fd42a86197aeae205557a435f4eef16 /resources/tools/testbed-setup/ansible/roles/azure/tasks | |
parent | 3ea4fcebabfaac866d469a7b4355ac8df7732a0f (diff) |
Terraform and ansible changes for Cloud environment (AWS, Azure).
Signed-off-by: Maros Mullner <maros.mullner@pantheon.tech>
Change-Id: Ic78b5dae22b67763b99c50a5f15d7dd16152d5d5
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/azure/tasks')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml | 14 |
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 |