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:
Major Hayden 2017-09-06 08:59:02 -05:00
parent fa996cbc5c
commit c2fca7bee6
No known key found for this signature in database
GPG Key ID: 737051E0C1011FB1
1 changed files with 0 additions and 5 deletions

View File

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