瀏覽代碼

current

master
父節點
當前提交
f520b2ec4c
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. +12
    -0
      tasks/main.yml

+ 12
- 0
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: logical volumes
lvol:
vg: "{{ item.volume_group }}"
lv: "{{ item.name }}"
size: "{{ item.size }}"
state: "{{ logical_volumes_state }}"
with_items: "{{ logical_volumes }}"

Loading…
取消
儲存