[ansible-project] Receiving facts at localhost using delegate_to is failing

2019-08-01 Thread Gabriel Rios
I have managed in the same playbook to generate certain facts and also to go over to my local pc and create the file that will receive them. What hasn't worked is the transfer of said facts. Below you can see what I'm generating in the 1st play, I'm using delegate_to & delegate_facts to send

[ansible-project] Re: how to solve local_action -> unreachable?

2019-08-01 Thread Gabriel Rios
interpreter_python":... and so on. On Wednesday, 31 July 2019 16:34:02 UTC-5, Gabriel Rios wrote: > > Hi, > > I'm currently experiencing a problem when executing the following > playbook. Everything I'm currently executing is attached too. What should I > mod

[ansible-project] how to solve local_action -> unreachable?

2019-07-31 Thread Gabriel Rios
Hi, I'm currently experiencing a problem when executing the following playbook. Everything I'm currently executing is attached too. What should I modify? --- - hosts: all vars_files: - winrms.yml tasks: - name: execute locally local_action: module: file path:

[ansible-project] Re: How to save an array of facts using a debug: msg and with_sequence?

2019-07-31 Thread Gabriel Rios
Thanks a lot. Already tested it and it works perfectly. On Tuesday, 30 July 2019 12:45:37 UTC-5, Gabriel Rios wrote: > > Hi, > > The following are facts from win_pagefile query. From these, I want to > retrieve the "maximum_size" fact of every element in the "page

Re: [ansible-project] How to save an array of facts using a debug: msg and with_sequence?

2019-07-30 Thread Gabriel Rios
83, u'description': u"'pagefile.sys' @ e:\\", u'name': u'e:\\pagefile.sys'}) => { "msg": "5.419921875" } How can I store them in 1 variable using set_fact? On Tuesday, 30 July 2019 13:33:54 UTC-5, Kai Stian Olstad wrote: > > On 30.07.2019 19:45, Gabriel