[ansible-project] Is there a better way to restructure playbook without “include_tasks” and run task simultaneously?

2019-09-11 Thread Larry Bakun
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

[ansible-project] Ansible - use variable from another host

2018-02-22 Thread Larry Bakun
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

Re: [ansible-project] Re: Ansible Copy module error - "Exec format error"

2018-01-17 Thread Larry Bakun
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

[ansible-project] Error when running included playbook

2017-12-04 Thread Larry Bakun
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 }}"