Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
318 views
in Technique[技术] by (71.8m points)

Is it possible to run a playbook from my mac When Ansible controller is on AWS VM?

I am working on mac where VS is installed. My Ansible controller is AWS VM and I have two control nodes on AWS. I have been told VS code Ansible plugin helps but that plugin is now retired

question from:https://stackoverflow.com/questions/65930084/is-it-possible-to-run-a-playbook-from-my-mac-when-ansible-controller-is-on-aws-v

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Yes, install Ansible on Mac and use the controller inventory with public IPs of the nodes and allow SSH access: ansible-playbook -i inventory playbook.yml


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...