Test your contributions:
Once the playbooks have been created, you must perform the following tests:
-
Verify Syntax and Format: Ensured that your playbooks comply with Ansible's syntax and style guidelines.
ansible-lint <playbook_name>.yml
-
Execution in test mode: Test the playbooks using Ansible's --check mode to make sure they work as expected without making changes to the system.