From 9c81caa9a7ea0216be7cc4879bf01ab05f7da01f Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Tue, 12 Jun 2018 00:04:05 -0500 Subject: [PATCH] Enable network cleanup on role run The network cleanup Boolean has been enabled to cleanup the network interface files this role will be responsible for as it creates containers. This change will ensure the network interface files created within nspawn containers do not grown uncontrollably or inadvertently create conflicts. Change-Id: Idc6f0895eb75c7f5f23f25b701754eb5bbf6163e Signed-off-by: Kevin Carter --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 6e86784..12a74d6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -328,7 +328,7 @@ name: systemd_networkd private: true vars: - systemd_interface_cleanup: false + systemd_interface_cleanup: true systemd_run_networkd: true systemd_resolved_available: "{{ nspawn_container_enable_resolved }}" systemd_resolved: