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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct