Andreas Krüger
18bf48cec2
Pull documentation of ansible.module_utils.basic from (improved) doc strings. ( #48416 )
2018-12-10 09:17:15 -06:00
Andreas Calminder
876b637208
move some of basic into common ( #48078 )
...
* move file functions into common.file
* move *_PERM_BITS and mark as private (_*_PERM_BITS)
* move get_{platform, distribution, distribution_version} get_all_subclasses and load_platform_subclass into common.sys_info
* forgot get_distribution_version, properly rename get_all_subclasses
* add common/sys_info.py to recursive finder test
* update module paths in test_platform_distribution.py
* update docstrings, _get_all_subclasses -> get_all_subclasses
* forgot to update names
* remove trailing whitespace
2018-12-07 10:21:11 -08:00
Andreas Calminder
3419c75411
make lockfile destination settable and update doc ( #42795 )
...
* make sure lock file is available for others when unlocking
* add tmpdir option and updated documentation
2018-08-08 06:52:11 -07:00
Brian Coca
222c907ffb
actually check we can run scm command for roles ( #43315 )
...
* actually check we can run scm command for roles
* a better error message than file not found
* more narrow exception hanlding
* refactor common functions for more extended use and further 'basic.py' separation
2018-07-31 13:04:05 -04:00
Toshio Kuratomi
780c8986af
Add boilerplate from __future__ and type declarations
2018-07-10 15:26:48 -07:00
Andreas Calminder
577e66660d
Simple file locking feature ( #42024 )
...
* class for file locking feature
2018-07-10 14:13:27 -07:00