Commit Graph

4 Commits (fb76f2eeea1d46e4752b2924fd1e8145e1e0e61d)

Author SHA1 Message Date
Alex Willmer 14cb8be7e5 ansible_mitogen: Test templated connection user (e.g. ansible_user) 3 weeks ago
Alex Willmer 551690ee1d ansible_mitogen: Handle templated connection passwords and ansible_ssh_password
This switches `ansible_mitogen.transport_config.PlayContextSpec.password()` to
Ansible's plugin option framework. As a result
- The relatively recent `ansible_ssh_password` variable is now respected.
- The SSH connection password can be templated and specified as a play
  variable. Task variables will probably also work, but testing was blocked
  by #1132.

There is a chance this change will cause a regression in another connection
plugin (e.g. mitogen_docker), but nothing turned up in the test suite.
I intend ot migrate other connection configuration to
`ansible_mitogen.transport_config.PlayContextSpec._connect_option()`, the next
candidate is the remote port.

fixes #1106
3 weeks ago
Alex Willmer 79ed797bad tests: Test templating of ansible_ssh_common_args et al
refs #905
2 months ago
Alex Willmer f3097b5743 ci: Template Ansible test-targets inventory with Jinja2 2 months ago