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 <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-06-12 00:04:05 -05:00 committed by Kevin Carter (cloudnull)
parent 7e2c1dd197
commit 9c81caa9a7
1 changed files with 1 additions and 1 deletions

View File

@ -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: