Working With Ansible Check Mode
Check Mode reports changes that Ansible would have to make on the end hosts rather than applying the changes
- Navigate to /home/ec2-user/ansible directory
- Let’s make some changes in setup-app.yml on info.php page, please refer this link
- Now run following command
ansible-playbook setup-app.yml --check
- This will return the changes but won’t apply it