Commit Graph

5 Commits (f384fc33d06b1abb66d316943ef9bb7e7cd3d162)

Author SHA1 Message Date
Alex Willmer 77a01ff8d6 ansible_mitogen: Support templated SSH port
fixes #978
3 weeks ago
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
4 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