瀏覽代碼

fixes

master
父節點
當前提交
0f321759c7
共有 4 個檔案被更改,包括 7 行新增12 行删除
  1. +0
    -7
      tasks/debian.yml
  2. +1
    -5
      tasks/main.yaml
  3. +6
    -0
      tasks/setup_Debian.yaml
  4. +0
    -0
      tasks/setup_Gentoo.yaml

+ 0
- 7
tasks/debian.yml 查看文件

@@ -1,7 +0,0 @@
---

- name: debian packages installed
apt:
pkg: "{{item}}"
with_items:
- debootstrap

tasks/main.yml → tasks/main.yaml 查看文件

@@ -1,10 +1,6 @@
---

- include: debian.yml
when: ansible_os_family == "Debian"

- include: gentoo.yml
when: ansible_os_family == "Gentoo"
- include: setup_{{ansible_os_family}}.yaml

#- name: debootstrap download
# command:

+ 6
- 0
tasks/setup_Debian.yaml 查看文件

@@ -0,0 +1,6 @@
---

- name: debian packages installed
apt:
pkg:
- debootstrap

tasks/gentoo.yml → tasks/setup_Gentoo.yaml 查看文件


Loading…
取消
儲存