Alex Willmer
357fe38766
Ansible 10 (ansible-core 2.17) support
...
Notably
- Python 2.7 and 3.6 are no longer supported by Ansible on targets
- The yum module has been removed, and redirected to dnf
- _INTERPRETER_PYTHON_DISTRO_MAP has been neutered. Interpreter discovery
always favours specific `python3.<x>` interpreters in decending version
order, then generic `python3` or `python`.
- Add the ability for an action plugin to call self._execute_module(*,
ignore_unknown_opts=True) to execute a module with options that may not be
supported for the version being called.
https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_10.html
https://github.com/ansible-community/ansible-build-data/blob/main/10/CHANGELOG-v10.md
https://github.com/ansible/ansible/blob/stable-2.17/changelogs/CHANGELOG-v2.17.rst
fixes #1074 , refs #1082
Co-authored-by: Claude Becker <becker@phys.ethz.ch>
2024-08-11 16:21:05 +01:00
Alex Willmer
cca651da1f
ansible_mitogen: Ansible 9 (ansible-core 2.16) support
2024-04-05 22:33:05 +01:00
Alex Willmer
fa1d21747f
ansible_mitogen: Declare Ansible 8 (ansible-core 2.15) support
...
refs #1021
2024-04-05 12:54:41 +01:00
Orion Poplawski
dfc3c7d516
ansible_mitogen: Add Ansible 7 support
...
Co-authored-by: Orion Poplawski <orion@nwra.com>
2024-04-04 09:11:23 +01:00
Alex Willmer
f1503874de
ansible_mitogen: Correct ansible_become_pass/ansible_become_password precendence
...
Until Ansible 2.9 it looks like ansible_become_password had higher priority.
From Ansible 2.10 ansible_become_pass has higher priority [1]. Mitogen was not
respecting this.
I may need to rework this further, instatiating the become plugin may have
slowed down execution.
[1] Based on testing with
```
[ubuntus]
become-pass-pass ansible_become_pass=1234
become-pass-password ansible_become_password=1234
become-pass-both ansible_become_password=wrong ansible_become_pass=1234
[ubuntus:vars]
ansible_host=ubuntu2004.local
ansible_user=ubuntu
```
```
- hosts: ubuntus
gather_facts: false
become: true
tasks:
- ping:
```
2022-07-24 10:14:50 +01:00
Alex Willmer
e8ad12e881
Ansible 6 support
...
fixes #929
2022-07-24 10:14:50 +01:00
Alex Willmer
31b3a4eb4a
ansible_mitogen: Standardise __future__ imports to match Ansible
...
Some modules additionally enable unicode_literals (which Ansible doesn't do).
I've chosen not to change that, for now.
2022-04-23 11:17:25 +01:00
Alex Willmer
18c89de5a9
Remove unused module imports
2022-04-23 10:01:06 +01:00
Klaus Zerwes
6fb5502a35
issue #874 support for ansible core 2.12 aka. ansible community 5.0
2021-12-07 11:53:50 +01:00
Alex Willmer
d9b8d50d4e
Fix ansible.__version__ comparisons with multi-digit components
...
Ansible 2.8 is older than Ansible 2.10, but `'2.8' < '2.10' == False`
2021-11-22 23:19:03 +00:00
Alex Willmer
c61c063b4f
Support for Ansible 3 & 4
...
fixes #834
Co-authored-by: Claude Becker (@upekkha)
Co-authored-by: Dolph Mathews (@dolph)
2021-11-12 22:10:53 +00:00
Steven Robertson
234dde5fc1
check Ansible version before loaders are loaded
2021-02-07 13:09:17 -08:00
Steven Robertson
f489478127
code cleanup + adds 0.2.10 + 0.3.0 changelog
2020-12-27 21:06:37 -08:00
Steven Robertson
f1bdc39047
added note about breaking backwards compat
2020-08-23 17:32:58 -07:00
Steven Robertson
1d13df718a
connection_loader.get isn't called anymore, it's connection_loader.get_with_context now
2020-08-23 17:31:10 -07:00
David Wilson
d6329f3446
Merge devel/290 @ 79b979ec8544ef5d8620c64068d4a42fabf50415
2019-11-02 16:46:59 +00:00
David Wilson
3b63da670f
Fix up another handful of LGTM errors.
2019-08-12 11:46:37 +01:00
David Wilson
1f77d24bec
Update copyright year everywhere.
2019-02-13 16:16:49 +00:00
David Wilson
f24f02ba06
issue #321 : take remote_tmp and system_tmpdirs into account.
...
Can't simply ignore these settings as some users may have weird noexec
filesystems.
2018-08-19 18:50:53 +01:00
David Wilson
5b03e06457
issue #294 : ansible: fix mixed vanilla/Mitogen runs.
...
Don't bother trying to understand what damage PluginLoader has done to
ansible.plugins.* namespace, just ask it for the base class instead.
2018-07-09 15:48:17 +01:00