pondelok 2. mája 2022

ansible-playbook --syntax-check

very helpfull for checking playbooks:   ansible-playbook --syntax-check yaml_is_cute.yml





 ansible-playbook --syntax-check 


 ansible-playbook --syntax-check yaml_is_cute.yml


playbook: syntax-check yaml_is_cute.yml


- if it is clean everything is good and we will start with playbook!


- if we have some errors the output will write the syntax errors (line 4.....syntax error or something like this)

Žiadne komentáre:

Zverejnenie komentára