瀏覽代碼

Remove if branching

pull/15/head
10sr 9 年之前
父節點
當前提交
1847f303c4
共有 2 個檔案被更改,包括 3 行新增5 行删除
  1. +0
    -3
      ansible/archlinux/roles/lxc/tasks/archlinux.yml
  2. +3
    -2
      ansible/archlinux/roles/lxc/tasks/main.yml

+ 0
- 3
ansible/archlinux/roles/lxc/tasks/archlinux.yml 查看文件

@@ -1,3 +0,0 @@
- name: Install LXC
pacman: name=lxc state=present
become: yes

+ 3
- 2
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

Loading…
取消
儲存