21 lines
380 B
Plaintext
21 lines
380 B
Plaintext
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
|
|
|