Steven Robertson
6d179da480
ported over tests from ansible validating python interpreter discovery
5 years ago
Steven Robertson
5fbcb9e28c
reverting -vvv
5 years ago
Steven Robertson
868de4e5ba
added ability to repro current virtualenv bug behind a proxy, and adding verbosity to see why azure is unhappy
5 years ago
Steven Robertson
91785f8862
fix another bad import
5 years ago
Steven Robertson
ee310c1a68
remove_internal_keys returns None, so need different way to check fallback
5 years ago
Steven Robertson
722cf0ea8d
handle ansible 2.3.3 remove_internal_keys
5 years ago
Steven Robertson
cf1c3aac1c
fix typo
5 years ago
Steven Robertson
ba350aa6cf
assigned interpreter vars to the wrong class
5 years ago
Steven Robertson
d74da84f62
the clean module was added later
5 years ago
Steven Robertson
496d96c01a
need to convert to str because of unicode_literals
5 years ago
Steven Robertson
aa0ad5ce8f
accidentally broke discovery
5 years ago
Steven Robertson
160dbd86b4
keeping track of interpreter discovery vars in case of ansible < 2.8
5 years ago
Steven Robertson
f10fb7d486
more test cases pass
5 years ago
Steven Robertson
e3eebb98d0
ImportError instead of newer ModuleNotFoundError
5 years ago
Steven Robertson
2d3d9cb659
fallback to old-style python interpreter default if running ansible < 2.8.0
5 years ago
Steven Robertson
1dddfadf32
removing note saying ansible 2.8 interpreter discovery doesn't work
5 years ago
Steven Robertson
ff2fa60184
fixed typo
5 years ago
Steven Robertson
0b57332d75
all test cases for ansible_python_interpreter on OSX pass now
5 years ago
Steven Robertson
81694d07ab
fix typo
5 years ago
Steven Robertson
8630f6190c
fixed propagating discovered interpreter to future tasks; sys.executable still wrong though
5 years ago
Steven Robertson
af1e22d4e1
able to propagate ansible_python_interpreter fact but still doesn't save between task runs
5 years ago
Steven Robertson
119e1c24aa
code cleanup
5 years ago
Steven Robertson
cec692dc17
faking pipelining so discover_interpreter can successfully exit
5 years ago
Steven Robertson
a6d2b2cd90
doesn't error when declaring 'ansible_python_interpreter: auto' but fact isn't being cached
5 years ago
Steven Robertson
19ba2417c8
now able to get the action object, but recursion error in low_level_exec_command
5 years ago
Steven Robertson
806651e112
working on ansible discovery; need to fix passing ActionModuleMixin reference still
5 years ago
Steven Robertson
e728cee7cb
missed a linting spot
5 years ago
Steven Robertson
d64adb15d7
reverted autolinted code
5 years ago
Steven Robertson
99d0b08e2f
Merge branch 'master' into complexAnsiblePythonInterpreterArg
5 years ago
David Wilson
c289b1699d
Merge remote-tracking branch 'origin/dmw'
...
* origin/dmw:
issue #667 : fix inverted test for Waker write() failure.
5 years ago
David Wilson
91f74a04ac
issue #667 : fix inverted test for Waker write() failure.
5 years ago
Steven Robertson
e8f3154cab
Merge branch 'master' into complexAnsiblePythonInterpreterArg
5 years ago
David Wilson
c26f5d159a
Merge remote-tracking branch 'origin/stable-029'
...
* origin/stable-029:
Bump version for release.
5 years ago
David Wilson
153d79b878
Bump version for release.
5 years ago
David Wilson
e70c316eef
Merge remote-tracking branch 'origin/dmw'
5 years ago
David Wilson
d6329f3446
Merge devel/290 @ 79b979ec8544ef5d8620c64068d4a42fabf50415
5 years ago
Steven Robertson
bca9d9bf67
added info to ansible_detailed.rst explaining new ansible_python_interpreter functionality
5 years ago
Steven Robertson
4669c8774f
handles templating ansible_python_interpreter values
5 years ago
Steven Robertson
cc11864b7d
code cleanup
5 years ago
Steven Robertson
50a11a80f0
sudo command works again when 'source' is used in ansible_python_interpreter
5 years ago
Steven Robertson
f1eed0163d
able to launch desired sudo command now; something is still broken though
5 years ago
Steven Robertson
24b170311a
able to get to 'sudo: source not found' after preventing escape of && so python connects
5 years ago
Steven Robertson
2ff48316f6
now able to get error: 'python: command not found'
5 years ago
Steven Robertson
defa5ef853
trying to support special python interpreters
5 years ago
David Wilson
be4f1bdb50
issue #646 : add extra logging to assertions and start_child()
5 years ago
David Wilson
99c5cece3a
Merge remote-tracking branch 'origin/dmw'
...
* origin/dmw:
issue #633 : skip test on older Ansibles.
issue #633 : update Changelog.
issue #633 : various task_vars fixes
issue #633 : handle meta: reset_connection when become is active
issue #633 : take inventory_hostname from task_vars
docs: , -> :
docs: use new manpage alias in one more place
5 years ago
David Wilson
3023ab3b7b
issue #633 : skip test on older Ansibles.
5 years ago
David Wilson
e3c514d906
issue #633 : update Changelog.
5 years ago
David Wilson
efd82dd35a
issue #633 : various task_vars fixes
...
- take host_vars from task_vars too
- make missing task_vars a hard error
- update tests to provide stub task_vars
5 years ago
David Wilson
fc09b81949
issue #633 : handle meta: reset_connection when become is active
...
- don't create a new connection during reset if no existing connection
exists
- strip off last hop in connection stack if PlayContext.become is True.
- log a debug message if reset cannot find an existing connection
5 years ago