Ansible querry

Hello all,

Just wanted to check how can I write a shell script and running as adhoc command on managed host to update the server CPU/memory/mac address ( facts )

Hey Sudhir,

Did you have a look at Ansible documentation?
https://docs.ansible.com/ansible/latest/modules/shell_module.html

Kind Regards,
Ameya Agashe

also the script module
https://docs.ansible.com/ansible/latest/modules/script_module.html