Merge pull request #117 from jcox10/fix-module-names

fix commuity.general module names
This commit is contained in:
Larry Smith Jr
2024-01-16 00:30:17 -05:00
committed by GitHub
4 changed files with 6 additions and 6 deletions

View File

@@ -30,7 +30,7 @@
- lv.filesystem != "swap"
- name: create_fs | creating new filesystem on new LVM logical volume(s)
community.general.system.filesystem:
community.general.filesystem:
fstype: "{{ lv.filesystem }}"
dev: "/dev/{{ vg.vgname }}/{{ lv.lvname }}"
resizefs: yes
@@ -48,7 +48,7 @@
- lv.filesystem != 'xfs'
- name: create_fs | creating new xfs filesystem on new LVM logical volume(s)
community.general.system.filesystem:
community.general.filesystem:
fstype: "{{ lv.filesystem }}"
dev: "/dev/{{ vg.vgname }}/{{ lv.lvname }}"
opts: "{{ lv.fsopts | default(omit) }}"

View File

@@ -5,7 +5,7 @@
verbosity: 2
- name: create_lv | creating new LVM logical volume(s)
community.general.system.lvol:
community.general.lvol:
vg: "{{ vg.vgname }}"
lv: "{{ lv.lvname }}"
size: "{{ lv.size }}"

View File

@@ -1,6 +1,6 @@
---
- name: create_vg | creating new LVM volume group(s)
community.general.system.lvg:
community.general.lvg:
vg: "{{ vg.vgname }}"
pvs: "{{ vg.disks | join(',') }}"
state: present

View File

@@ -6,7 +6,7 @@
loop_var: vg
- name: manage_lvm | Removing LVM logical volume(s)
community.general.system.lvol:
community.general.lvol:
vg: "{{ item.0.vgname }}"
lv: "{{ item.1.lvname }}"
state: absent
@@ -20,7 +20,7 @@
- not item.1.create|bool
- name: manage_lvm | Removing LVM volume group(s)
community.general.system.lvg:
community.general.lvg:
vg: "{{ item.vgname }}"
pvs: "{{ item.disks | join(',') }}"
state: absent