Commit Graph

103 Commits (05f919e21c724fe1bf490f4e8a4a450ebea92c8b)

Author SHA1 Message Date
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)
5 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)
6 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
7 years ago
Andreas Calminder 876b637208 move some of basic into common (#48078)
7 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
Matt Martz a7062b7587
Start of tests for modify_module, specifically to ensure proper shebang replacement on old style modules (#36602)
8 years ago
Matt Martz 7404dc6767 Recursively remove args with omit as as their value, to match suboptions in argument_spec (#35299)
8 years ago
James Cammarata b107e397cb
Cache tasks as they are queued instead of en masse (#34752)
8 years ago
Matt Martz 5c63bb0090 Add test for clean_copy preservation of keys
8 years ago
Toshio Kuratomi b455901904
Fix shebang. shebang and interpreter path weren't being templated (#33698)
9 years ago
James Cammarata d8ae4dfbf2 Adding aliases for field attributes and renaming async attribute (#33141)
9 years ago
Brian Coca 01b6c7c9c6 better cleanup on task results display (#27175)
9 years ago
Brian Coca d84df2405d move from with_<lookup>: to loop:
9 years ago
Brian Coca f921369445 Ansible Config part2 (#27448)
9 years ago
Toshio Kuratomi 9f7b0dfc30 Remove automatic use of system six
9 years ago
Dag Wieers fceb71128e Return code is not very useful to assume a task failed
9 years ago
Dag Wieers 4efec414e7 test/: PEP8 compliancy (#24803)
9 years ago
Toshio Kuratomi 500de1f557 Remove hack for backwards compatible v2_playbook_on_start callback
9 years ago