Style guide
In general the Ansible best practices are used.
Explicit mentions:
- Use
name:
where possible. - Lowercase the value of the
name:
parameter. - Prefer higher readability.
- Always mention
state:
Linting
All roles should pass ansible-galaxy-rules.
There are some roles that can’t meet these requirements:
role | reason for skip_ansible_lint |
common | include_role does not support notify |
digitalocean_agent | False positive on PackageHasRetryRule |
reboot | An optional check forces a task not to be a handler |
release | include_role does not support notify |
selinux | include_role does not support notify |
update | include_role does not support notify and package should now use latest and False positive on PackageHasRetryRule |