Commit Graph

60 Commits (370b98f960cb93c8e95952bf474ddf599722cf9b)

Author SHA1 Message Date
David Wilson cd455e8c58 ansible: minor tidy up 6 years ago
David Wilson 3584084be6 issue #140: explicit Broker management, and guard against crap plug-ins.
Implement Connection.__del__, which is almost certainly going to trigger
more bugs down the line, because the state of the Connection instance is
not guranteed during __del__. Meanwhile, it is temporarily needed for
deployed-today Ansibles that have a buggy synchronize action that does
not call Connection.close().

A better approach to this would be to virtualize the guts of Connection,
and move its management to one central place where we can guarantee
resource destruction happens reliably, but that may entail another
Ansible monkey-patch to give us such a reliable hook.
6 years ago
David Wilson 88c198ea05 issue #141: copy Ansible's connect_timeout for sudo too. 6 years ago
David Wilson 7d12154a92 ansible: fix formatting 6 years ago
David Wilson 12c6e574fb ansible: disable host key checking for now
Need a better story (perhaps a callback function?) for handling this.
6 years ago
David Wilson b63af1de85 ansible: implement _transfer_data for <2.4 template action 6 years ago
David Wilson 3ddbf1a503 ansible: basic support for ssh_args 6 years ago
David Wilson da00437f1e ansible: Support ansible_ssh_private_key_file 6 years ago
David Wilson a87b665099 ansible: limited support for become_flags, more docs. 6 years ago
David Wilson bde6f888a0 ansible: restructure package to avoid yet more madness
Ansible's PluginLoader makes up bullshit when it imports a module
(mostly because it has to make up something), therefore we ended up with
duplicate copies of ansible_mitogen loaded: one under
ansible.plugins.*.mitogen, and one under the canonical namespace.

Which broke isinstance().
6 years ago