Commit Graph

92 Commits (d64b49e8a00a255be4d67fe2501ff9aaba8a63e9)

Author SHA1 Message Date
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)
8 years ago
Toshio Kuratomi 27c7d5bb01 Move the arguments module into cli/ and context_objects into utils
8 years ago
Toshio Kuratomi 7e92ff823e Split up the base_parser function
8 years ago
Toshio Kuratomi afdbb0d9d5 Save the command line arguments into a global context
8 years ago
Toshio Kuratomi 5844c8c7f0 Cleanups to the common.sys_info API
8 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
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
9 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
Toshio Kuratomi 2fff690caa Update module_utils.six to latest (#22855)
9 years ago
Matt Martz 87aa59af79 Legacy pep8 updates for setup.py and tests
9 years ago
Toshio Kuratomi 5c38f3cea2 Combine jimi-c and bcoca's ideas and work on hooking module-utils into PluginLoader.
9 years ago
Toshio Kuratomi 1609afbd12 Unittests for some of module_common.py (#20812)
9 years ago
Matt Clay d913f69ba1 PEP 8 W291 whitespace cleanup.
9 years ago
James Cammarata 9d549c3498 Fixing iterator bug related to reworking of end-of-role detection
9 years ago
James Cammarata cae682607c Reworking the way end of role detection is done
9 years ago
Matt Clay 8c270ac75f Add empty-init code-smell script. (#18406)
10 years ago
Steve Kuznetsov 0bc35354ce Change `v2_playbook_on_start` logic to positively detect legacy plugins
10 years ago
Adrian Likins 6f9ca7bb83 test name TestPlayIterator->TestPlaybookExecutor
10 years ago
James Cammarata 47acf55fa9 Cache tasks by uuid in PlayIterator for O(1) lookups
10 years ago