Commit Graph

116 Commits (stable-2.14)

Author SHA1 Message Date
Jordan Borean d15815c88d
Fix connection/become task loop settings (#78565) (#78935)
4 years ago
Kate Case bf1ef5a1f3
Replace get_persistent_connection_options in task_executor with get_options (#74446)
4 years ago
Matt Clay 9ee183c4b9
Clean up unit tests. (#78498)
4 years ago
Sloane Hertel 621e782ed0
Add toggle to fix module_defaults with module-as-redirected-action on a per-module basis (#77265)
4 years ago
Matt Clay 3a9a23fb1a
Use unittest.mock instead of mock. (#77883)
4 years ago
Martin Krizek 94eff70030
PlayIterator - remove deprecated states (#77444)
4 years ago
Matt Clay 1a5853d794
Remove obsolete units.compat.mock compat layer. (#77118)
4 years ago
Brian Coca 9142be2f6c
Allow specifying specific python via shebang (#76677)
4 years ago
Martin Krizek 5c225dc0f5
Introduce public methods to access PlayIterator._host_states (#74416)
5 years ago
Martin Krizek 395e5e20fa
PlayIterator: use enums for states (#74511)
5 years ago
Matt Clay 7450e87615
Fix up string splitting to prepare for pylint update. (#75479)
5 years ago
Sam Doran fa7482c63a
Change interpreter discovery defaults to silently prefer Python 3 (#75049)
5 years ago
Brian Coca 415e08c297
Try to get best usable locale (#75033)
5 years ago
Sam Doran abacf6a108
Use ArgumentSpecValidator in AnsibleModule (#73703)
5 years ago
Matt Davis 4c5ce5a1a9
module compat for py3.8+ controller (#73423)
5 years ago
Martin Krizek 1b70260d5a
Add implicit role_complete block instead of role._eor (#72208)
6 years ago
Matt Davis 4c0af6c808
fix internal cases of actions calling unqualified module names (#70818)
6 years ago
Matt Davis c616e54a6e
refactor Python module_utils locator (#70610)
6 years ago
Rick Elrod 9cfc76a221
Nuke with_ squashing, deprecated for 2.11 (#70209)
6 years ago
Matt Clay c67efe0bd1 Avoid unnecessary comprehensions.
6 years ago
Karl Fogel 225ae65b0f
Make Python path warning say what it means to say (#69669)
6 years ago
Bob Weinand f200487414
Fix filedescriptor out of range in select() when running commands (#65058)
6 years ago
Nathaniel Case 3dbc03d58a
Try to load action plugin from the same collection as the module (#66701)
6 years ago
Sam Doran 3461c682c3
Add mechanism for storing warnings and deprecations outside of AnsibleModule (#58993)
6 years ago
Ganesh Nalawade 74e9b1e219
Fix network action plugin load in collection (#65849)
7 years ago
Mads Jensen c5d61953b1 Remove empty setUp/tearDown/tearDownClass methods in test classes.
7 years ago
Matt Martz 5be0668fb0
Ensure we don't erase unsafe context in TaskExecutor.run on bytes (#62287)
7 years ago
Paul Belanger f23bb6f7bd Properly load module_prefix for collections in task_executor.py (#60420)
7 years ago
Matt Clay f510d59943
Support relative imports in AnsiballZ. (#61196)
7 years ago
Sam Doran 2d266fbc87
Fix unit tests to work with pytest >= 5.0 (#60246)
7 years ago
Andrey Klychkov 4e8df9a4b8 unit tests: remove unused imports (#59636)
7 years ago
Matt Martz 2732cde031
Support using importlib on py>=3 to avoid imp deprecation (#54883)
7 years ago
Sam Doran ff88bd82b5
Move type checking methods out of basic.py and add unit tests (#53687)
7 years ago
Sam Doran 43a44e6f35
Move utility functions out of basic.py (#51715)
7 years ago
Jordan Borean c8c326d88e
Use unicode string for auto interpreter warnings (#53671)
7 years ago
Sam Doran aba4bed803
Move _handle_no_log_values() out of basic.py (#48628)
7 years ago
Sam Doran 2a98faee2b
Move _handle_aliases() out of basic.py (#48578)
7 years ago
Matt Davis 4d3a6123d5
Python interpreter discovery (#50163)
7 years ago
Abhijeet Kasurde bc6cd13874
Handle exception raised in recursive_finder API (#49590)
7 years ago
Toshio Kuratomi 27c7d5bb01 Move the arguments module into cli/ and context_objects into utils
7 years ago
Toshio Kuratomi 7e92ff823e Split up the base_parser function
7 years ago
Toshio Kuratomi afdbb0d9d5 Save the command line arguments into a global context
7 years ago
Toshio Kuratomi 5844c8c7f0 Cleanups to the common.sys_info API
7 years ago
Toshio Kuratomi 61b1daa65f Port from plaform.dist to ansible.module_utils.distro.linux_distribution
8 years ago
Andreas Calminder 876b637208 move some of basic into common (#48078)
8 years ago
Matt Martz 0d068f1e3a
Support list of dicts with omit. Fixes #45907 (#45923)
8 years ago
Matt Clay 3033fd96b0
Move unit test compat code out of `lib/ansible/`. (#46996)
8 years ago
Toshio Kuratomi 8ec973b453 Fix unittests for always adding basic to the AnsiBallZ zips
8 years ago
Matt Martz 17c89d1ffa
Remove unused rslt_q, rename the one queue to final_q everywhere (#43894)
8 years ago
Pilou 7908f78fa6 module_common: handle None value for templar (#36651)
8 years ago