Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Tcharl committed Dec 21, 2023
1 parent cb0546c commit 96ea681
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ exclude_paths:
- molecule/
- .tox/
skip_list:
- '106' # Role name {} does not match ``^[a-z][a-z0-9_]+$`` pattern
- '106' # Role name {} does not match '^[a-z][a-z0-9_]+$' pattern
- var-naming[no-role-prefix] # Role name {} does not match ^[a-z][a-z0-9_]+$ pattern
- galaxy[no-changelog] # A changelog file should be added
1 change: 1 addition & 0 deletions galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ tags:
- "volumes"
- "volume-groups"
- "logical-volumes"
- "linux"
1 change: 1 addition & 0 deletions tasks/lv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
mntp: "{{ avlv.mntp | default(omit) }}"
mount: "{{ avlv.mount | default(false) }}"
loop: "{{ alreadyaremetadata.results }}"
changed_when: true
loop_control:
loop_var: alreadyismetadata
when: >
Expand Down
2 changes: 2 additions & 0 deletions tasks/pool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
- name: Pool | convert thinpool
ansible.builtin.command: lvconvert -y --zero n -c 512K --thinpool {{ avvg.vgname }}/{{ avlv.lvname }} --poolmetadata {{ avlv.metadata }}
become: yes
changed_when: true
when: metadataalreadybound is failed or alreadyhasmetadata.stdout == 0

- name: Pool | mounting new filesystem(s) after thinpool conversion
Expand All @@ -40,6 +41,7 @@
fstype: "{{ avlv.filesystem }}"
state: "mounted"
opts: "{{ avlv.mopts | default('defaults') }}"
changed_when: true
become: true
when:
- metadataalreadybound is failed or alreadyhasmetadata.stdout == 0
Expand Down

0 comments on commit 96ea681

Please sign in to comment.