Reboot OS by Ansbile

Ansible is a great and simple configuration management tool. Some times we require to reboot server and do some tasks once reboot is done.

step1: Create a file

Step2: write ansible script

step3: create inventory file by the filename

step4: it is necessary to patch your public keys on all the Hosts

step5: then run this command to execute the reboot process

Post Author: Rohit

1 thought on “Reboot OS by Ansbile

    Mohit

    (May 12, 2017 - 4:37 am)

    Thanks !!! Really it’s very helpful.

Leave a Reply

Your email address will not be published. Required fields are marked *