Search This Blog

Wednesday, 26 July 2023

Run script on VM

 $vm | Invoke-VMScript -ScriptText “systemctl restart crond” -GuestUser root - GuestPassword ***

Ansible_Notes

   ansible -i inventory.ini -m ping all   # inventory.ini it will ping to the hosts which are in inventory # ansible -i inventory.ini -m pin...