I need a way to speed up my playbook, maybe better logical structuring.
It’s running sequentially now. The task is simple – run playbook from AWX
that will backup list of VMs.
I’m supplying list of VMs in AWX extra variables:
backupList:
- vmName: VM1
backupAge: 2d
- vmName: VM2
I have a playbook that executes a script on a Windows box that returns a
value that I have to re-use later on in my playbook after switching to the
localhost. How can I access this value after switching back to localhost.
Here is an example:
hosts: localhost
connection: local
gather_facts: no
Can you please share your solution? I'm facing the same issue.
On Thursday, June 22, 2017 at 3:11:13 PM UTC-4, Anfield wrote:
>
> Ok. Thanks. Once I update the stuff.fact file then the playbook runs fine.
>
>
>>
--
You received this message because you are subscribed to the Google Groups
Hi everyone,
I'm receiving this weird error when running the second playbook (with
include module and passing IP address).
Here is my first playbook:
---
- name: get VM list from ESXi
hosts: all
tasks:
- name: get facts
vmware_vm_facts:
hostname: "{{ inventory_hostname }}"