Wednesday, July 12, 2023

Ansible syntax check with Python Module

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

0 Comments: