From c8331959bd4b0b2cb77c67d1715f4f0b74d02f62 Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sat, 1 May 2021 16:17:19 +0700 Subject: [PATCH] Use var for macvlan parent --- metal/roles/tfstate/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metal/roles/tfstate/tasks/main.yml b/metal/roles/tfstate/tasks/main.yml index d6cbd6a6..ec3b10f9 100644 --- a/metal/roles/tfstate/tasks/main.yml +++ b/metal/roles/tfstate/tasks/main.yml @@ -13,7 +13,7 @@ eth0: type: nic nictype: macvlan - parent: eno1 + parent: "{{ network_interface }}" - name: Add tfstate container to host list add_host: