浏览代码

current

master
父节点
当前提交
3769491d2e
共有 2 个文件被更改,包括 2 次插入4 次删除
  1. +2
    -3
      tasks/main.yml
  2. +0
    -1
      tasks/setup_Debian.yml

+ 2
- 3
tasks/main.yml 查看文件

@@ -3,8 +3,7 @@
- setup:
gather_subset: "!all"

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

#- include: gdisk.yml
@@ -20,5 +19,5 @@
command: sync

- name: reread partition tables
command: hdparm -z {{ item.device }}
command: partprobe {{ item.device }}
with_items: "{{ hard_disks }}"

tasks/debian.yml → tasks/setup_Debian.yml 查看文件

@@ -5,5 +5,4 @@
pkg: "{{ item }}"
state: installed
with_items:
- hdparm
- parted

正在加载...
取消
保存