Commit Graph

103 Commits (689cfd198351e00128dec85dde8a3d7243ed8dc6)

Author SHA1 Message Date
jctanner b019029bf3
Add intentional unit tests for basic._set_cwd and common.dict_merge (#70283)
6 years ago
Matt Clay 98a0995fd0 Clean up unit test boilerplate.
6 years ago
Sam Doran bc05415109
Only pass kwargs to our string checker not callable checkers (#70151)
6 years ago
Felix Fontein a862ff2d43
Deprecation revisited (#69926)
6 years ago
Dongsu Park 598e3392a9
Discover Flatcar Linux properly for hostname (#69627)
6 years ago
Felix Fontein 40f21dfd3c
Version source tagging (automatic and manual) for version_added and deprecation versions (#69680)
6 years ago
Felix Fontein ea04e0048d
Allow to deprecate options and aliases by date (#68177)
6 years ago
Matt Martz e0f25a2b1f
Strip no log values from module response keys. Fixes #68400 (#69653)
6 years ago
Bob Weinand f200487414
Fix filedescriptor out of range in select() when running commands (#65058)
6 years ago
Brian Coca ac509d489b
Revert "stricter permissions on atomic_move when creating new file (#68970)" (#68983)
6 years ago
Brian Coca 566f2467f6
stricter permissions on atomic_move when creating new file (#68970)
6 years ago
Toshio Kuratomi 184f540056 Add some more unittests for fail_json
6 years ago
Toshio Kuratomi 6531ba38f8 Allow the msg argument to fail_json() to be a positional argument
6 years ago
Sam Doran 3461c682c3
Add mechanism for storing warnings and deprecations outside of AnsibleModule (#58993)
6 years ago
Sam Doran 617fbad743
synchronize - fix password authentication (#66542)
6 years ago
kaorihinata 3ca4580cb4 Allow no_log=False to silence the no_log warnings for module parameters (#64733)
6 years ago
Mads Jensen 0f491c0289 Replace TestCase.assertEquals with TestCase.assertEqual.
7 years ago
Jill R d49d52eb5f
Add tests for new alias deprecation functionality (#61476)
7 years ago
Andrey Klychkov 21863d48f3 unit tests: remove unused imports (#60462)
7 years ago
Matt Martz 697b566971
Update units to pass on macOS (#60435)
7 years ago
Andrey Klychkov 4e8df9a4b8 unit tests: remove unused imports (#59636)
7 years ago
Felix Fontein 4a574c4d0c Option parsing: warn if both an option and its alias are specified for a module (#53698)
7 years ago
Brian Coca ee4cba1b85 ensure bytes in run_command (#58411)
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
Brian Coca e280f2f7b0
Try to get correct buffer size to avoid races (#53547)
7 years ago
Sam Doran bf28b5ceca
Use distro.id() instead of distro.name() (#52199)
7 years ago
Felix Fontein 07fcb60d55 Python 2: accept both long and int for type=int (module options) (#53289)
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
Ganesh Nalawade 41e2bd1df5
Add support for elements validation in argspec (#50335)
7 years ago
Sviatoslav Sydorenko f1e67c3328 Bugfix/ fix mocker patch in tests (#52372)
7 years ago
Dag Wieers cd9471ef17 Introduce new 'required_by' argument_spec option (#28662)
7 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 Clay feb5b0b299 Fix unit test issues with pytest >= 4.0.0.
8 years ago
Matt Clay 3033fd96b0
Move unit test compat code out of `lib/ansible/`. (#46996)
8 years ago
Matt Clay 53b230ca74 Fix unit test parametrize order on Python 3.5.
8 years ago
Matt Martz c1c229c6d4
Remove use of simplejson throughout code base (#43548)
8 years ago
Toshio Kuratomi 52449cc01a AnsiballZ improvements
8 years ago
Toshio Kuratomi 5b4a7cc283 Fix journald unittests
8 years ago
Jordan Borean 8bdd04c147 Fix remote_tmp when become with non admin user (#42396)
8 years ago
Jordan Borean 5c39c3b2d1
Module basic.py to create parent dirs of tmpdir if needed (#40201)
8 years ago
Jordan Borean 44ab948e5d
create module tmpdir based on remote_tmp (#39833)
8 years ago
Matt Martz 1663b64e18
Allow subspec defaults to be processed when the parent argument is not supplied (#38967)
8 years ago
René Moser 2f36b9e5ce basic: allow one or more when param list having choices (#34537)
8 years ago
Pilou e9df2083a3 If check mode enabled and file missing set changed to true 32676 (#33967)
9 years ago
Pierre-Louis Bonicoli b94630a081 AnsibleModule.get_file_attributes: add unit test
9 years ago
Toshio Kuratomi 370a7ace4b
Split basic units (#33510)
9 years ago