Code block setup
As preferred by ansible-lint, it adds readability to the blocks:
- name: Some descriptive code block
when: # when after name
- role_value_is true
block:
- name: Some subtask in the block
ansible.builtin.package: # full package name
name:
- dnf
- firewalld
state: present
# empty newline at the end
No Comments