浏览代码

current

master
父节点
当前提交
52ea6588ba
共有 1 个文件被更改,包括 13 次插入1 次删除
  1. +13
    -1
      tasks/main.yml

+ 13
- 1
tasks/main.yml 查看文件

@@ -1,8 +1,20 @@
---

- setup:
gather_subset: "!all"

- name: debian apt install packages
apt:
pkg: "{{ item }}"
state: installed
with_items:
- lvm2
when: ansible_os_family == "Debian"

- name: volume groups
lvg:
vg: "{{ item.name }}"
pvs: "{{ item.devices | join(',') }}"
state: present
state: "{{ volume_groups_state }}"
with_items: "{{ volume_groups }}"


正在加载...
取消
保存