Power up an instance remotely with Ansible
If I am remote on my computer at home, is it possible to power up an instance I know is powered down with a Ansible playbook? If so, how would I do that?
1 Reply
Based on this forum post, it should be possible. This post explains further that you'd need to use a local connection (not SSH) to localhost. Once you've established that connection, you can execute the playbook task. They even provided a setup that would make this work:
Should you need further guidance, I recommend reaching out to GitHub's Ansible-Collections discussions page, as there may be knowledgeable users who may be able to weigh in on your configuration and provide assistance with what you're attempting to achieve.