简体   繁体   中英

How do you call ansible-playbook from Azure?

How do you call an ansible-playbook from within Azure? Where is the command run from?

I have Ansible installed on a VM in Azure, and host I want to configure is located on a VM in our resource group. I can log into that machine and call ansible-playbook from the command line. But how can i call ansible-playbook remotely, from outside of that ansible machine?

Is there a best practice? Can anyone provide me any examples?

It looks like there is an option to configure it in Azure Cloud Shell .

Another possibility would be to deploy another host. And simply install Ansible on that machine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM