Doing this"
---
- hosts: localhost
gather_facts: false
*serial: 1*
vars:
~
doesn't seem to help. Any help would be appreciated.
On Tuesday, August 14, 2018 at 3:38:03 PM UTC-4, Dimitri Yioulos wrote:
>
> Hello, all.
>
> I need to create a playbook which will include shutting down, the
Further question:
With the play written as follows:
---
- hosts: localhost
gather_facts: false
vars:
vsphere_host: 10.0.101.17
vsphere_username: user
vsphere_password: password
vm_state: poweredon #poweredon shutdownguest restarted
tasks:
- name: Boot VMWare Guest
I'll answer my own question - yes "with_items" works, and in the order in
which the items are listed.
On Tuesday, August 14, 2018 at 3:38:03 PM UTC-4, Dimitri Yioulos wrote:
>
> Hello, all.
>
> I need to create a playbook which will include shutting down, then
> restarting, six virtual machines.
As in "with_items". If so, would the shut-downs/start-ups be in the order
of the "with_items" list?
On Tuesday, August 14, 2018 at 3:38:03 PM UTC-4, Dimitri Yioulos wrote:
>
> Hello, all.
>
> I need to create a playbook which will include shutting down, then
> restarting, six virtual machines.