From 1847f303c4c367dba32c9cd0f6e1839e1dbab71d Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 10 Aug 2015 22:33:30 +0900 Subject: [PATCH] Remove if branching --- ansible/archlinux/roles/lxc/tasks/archlinux.yml | 3 --- ansible/archlinux/roles/lxc/tasks/main.yml | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 ansible/archlinux/roles/lxc/tasks/archlinux.yml diff --git a/ansible/archlinux/roles/lxc/tasks/archlinux.yml b/ansible/archlinux/roles/lxc/tasks/archlinux.yml deleted file mode 100644 index 31f92ec..0000000 --- a/ansible/archlinux/roles/lxc/tasks/archlinux.yml +++ /dev/null @@ -1,3 +0,0 @@ -- name: Install LXC - pacman: name=lxc state=present - become: yes diff --git a/ansible/archlinux/roles/lxc/tasks/main.yml b/ansible/archlinux/roles/lxc/tasks/main.yml index a497e87..31f92ec 100644 --- a/ansible/archlinux/roles/lxc/tasks/main.yml +++ b/ansible/archlinux/roles/lxc/tasks/main.yml @@ -1,2 +1,3 @@ -- include: archlinux.yml - when: ansible_os_family == "Archlinux" +- name: Install LXC + pacman: name=lxc state=present + become: yes