Ansible setup action with delegate_to tries to use the current python interpreter. #396
I am running ansible in a local virtualenv and I want to execute the setup action on remote docker hosts.
Also tested on 2.7.0, with the same result.
Ansible config dump:
Using the current git master of mitogen (ad44ad1).
Local OS: Mac OS X 10.13.6
Local Python: 2.7.14
Example test playbook:
--- - hosts: host1 gather_facts: false tasks: - name: Gather facts setup: gather_subset: '!all,!min,network' - name: Gather facts delegated setup: gather_subset: '!all,!min,network' delegate_to: host2 delegate_facts: true
I see the following output (using -vvv):
For the second task:
The text was updated successfully, but these errors were encountered:
Sorry for the insane delay :(
This is now on the master branch and will make it into the next release. To be updated when a new release is made, subscribe to https://networkgenomics.com/mail/mitogen-announce/
Thanks for reporting this!