The below commands will help us to check the ansible format.
#pip install ansible-lint
#ansible-lint playbook.yml --force-color
#ansible-playbook playbook.yml --syntax-check
The below commands will help us to check the ansible format.
#pip install ansible-lint
#ansible-lint playbook.yml --force-color
#ansible-playbook playbook.yml --syntax-check
LinuxOcean © All rights reserved. |
0 Comments:
Post a Comment