--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b44f02f7-bd9a-425b-a670-524511fd9850%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You should not use ansible to connect to each and every host and try to turn it off. That’s a load of overhead and there is no way to turn them back on again later.Instead, use ansible to connect to the openstack cluster and switch off hosts from there, for instance withYou can optionally first fetch a list of hosts on the cluster and filter that in a useful way:Dick
On Fri, 19 Apr 2019 at 11:48, CHARCHOUF SABRI <bari...@gmail.com> wrote:
Hi Folks,I'm a new user for Ansible and I would like to get some help from experts.Project: Customer would like to use Ansible to switch OFF hosts on a public cloud [the public cloud is OpenStack based]My issue is that I'm not sure how to set up my inventory file and how I can connect to hosts, especially that we should do it via APIs.any idea, a suggestion is highly appreciated.Thanking you in advance.--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/b44f02f7-bd9a-425b-a670-524511fd9850%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.