Cleaning up lxc-net tasks
This patch cleans up the lxc-net tasks by removing the whens since the tasks cover all of the distros we support. All current distros have systemd, so that condition was removed as well. Change-Id: I21a273c01079e8b05543abc5b02e283f1c85132e
This commit is contained in:
parent
fa996cbc5c
commit
c2fca7bee6
|
@ -55,8 +55,6 @@
|
|||
name: lxc-net
|
||||
enabled: no
|
||||
state: stopped
|
||||
when:
|
||||
- ansible_os_family in ["Debian", "RedHat", "Suse"]
|
||||
tags:
|
||||
- lxc-net
|
||||
|
||||
|
@ -65,9 +63,6 @@
|
|||
src: /dev/null
|
||||
path: /etc/systemd/system/lxc-net.service
|
||||
state: link
|
||||
when:
|
||||
- ansible_service_mgr == 'systemd'
|
||||
- ansible_os_family in ["Debian", "RedHat", "Suse"]
|
||||
tags:
|
||||
- lxc-files
|
||||
- lxc-net
|
||||
|
|
Loading…
Reference in New Issue