ansible/STYLEGUIDE
Nils Philippsen 85a53986e6 Don't refer to ansible-review anymore
The upstream project seems pretty much dead, and it doesn't work with
recent versions of ansible-lint.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2023-11-28 00:00:01 +00:00

20 lines
380 B
Text

infrastructure ansible style guide
==================================
* Use 'yml' instead of 'yaml'
* do add '.j2' to the end of templates
* in general let readablity trump grepability, i.e.:
DONT:
- name: This is some play
module: name=thing arg=thing2 anotherlongerarg=thing arg4=anodheranth
DO:
- name: This is some play
module:
- name: thing
- arg: thing2
..etc