MFH Labs : How to Dry Run the playbook without making Actual Changes

you can actually run the playbook with Dry Run feature to see what changes would be made to the server without having to perform the actual changes.

to do that. you just have to add -C to your ansible-playbook startup command

➜ ansible-playbook -C sampleplaybook.yml -i ansible_hosts

Scroll to Top