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>
20 lines
380 B
Text
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
|
|
|