community.general/lib/ansible
Sam Doran c1589c33c4
Reboot - Fix command not found, add Apline support, fix Solaris command (#49272)
* Fix various bugs related in reboot

- Use format strings for consistency and improve debug log messages
- Use local variables instead of class attributes in order to be thread safe
- Run setup module to get distribution and version
- Run find module to get full path of shutdown command
- Use ansible_os_family and ansible_distribution to find commands and args
- Use same command for all Solaris/SunOS distributions
- Move delay calculations to properties
- Reliably check for module run failure
- Fix bug in run_test_command() that accidentally made the method work properly
- Use better exceptions rather than Exception
- Use dict literals rather than constructors
- Correct _check_delay() so it always returns a value, not None
- Don't store and return result in run_test_command() because it's not used anywhere
- add test for post reboot command that fails
- test negative values for delay parameters
2018-12-11 11:05:10 -05:00
..
cli add path info to role list (#49346) 2018-12-10 11:41:22 -05:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config More specificity in errors for cfg mgr (#48995) 2018-12-10 11:38:42 -05:00
errors Add better error when k=v syntax is used with YAML in tasks (#41754) 2018-12-04 12:32:02 -05:00
executor Consolidate handler tracking (#49338) 2018-12-11 10:58:19 -05:00
galaxy Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
inventory Merge pull request #49080 from bcoca/better_invp_skip 2018-11-27 15:30:14 -08:00
module_utils Add DellEMC iDRAC Firmware module (#46675) 2018-12-11 16:38:01 +01:00
modules Add DellEMC iDRAC Firmware module (#46675) 2018-12-11 16:38:01 +01:00
parsing Don't just raise AnsibleError with the exception message (#49654) 2018-12-11 09:27:10 -06:00
playbook Consolidate handler tracking (#49338) 2018-12-11 10:58:19 -05:00
plugins Reboot - Fix command not found, add Apline support, fix Solaris command (#49272) 2018-12-11 11:05:10 -05:00
template Add now() jinja2 global func for getting the date/time (#43792) 2018-12-07 11:25:53 -06:00
utils docker_*: hint at DOCKER_CONFIG environment variable (#49689) 2018-12-10 13:40:29 +00:00
vars Simplify FactCache.update() 2018-12-05 12:33:27 -08:00
__init__.py
constants.py become_method: make dzdo more like sudo (#47946) 2018-12-04 18:24:32 -05:00
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00