Fixed linting issues

This commit is contained in:
Larry Smith Jr
2023-06-15 08:52:28 -04:00
parent 51b7015f9c
commit d27a3809d9
17 changed files with 95 additions and 94 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
---
- name: create_vg | creating new LVM volume group(s)
lvg:
community.general.system.lvg:
vg: "{{ vg.vgname }}"
pvs: "{{ vg.disks | join(',') }}"
state: present
@@ -12,7 +12,7 @@
### workaround: auto pvresize waiting for upgrade to new module supporting integrated pvresize
### ref: https://docs.ansible.com/ansible/3/collections/community/general/lvg_module.html
- name: create_vg | pvresize to max available free space
command: "pvresize {{ pv }}"
ansible.builtin.command: "pvresize {{ pv }}"
loop: "{{ vg.disks | default([]) }}"
loop_control:
loop_var: pv
@@ -23,7 +23,7 @@
- pvresize_to_max|bool
- name: manage_lvm | loop over logical volume group(s) to create logical volumes
include_tasks: create_lv.yml
ansible.builtin.include_tasks: create_lv.yml
loop: "{{ vg.lvnames | default([]) }}"
loop_control:
loop_var: lv