community.general/lib/ansible/plugins
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
..
action Reboot - Fix command not found, add Apline support, fix Solaris command (#49272) 2018-12-11 11:05:10 -05:00
cache FactCache changes 2018-12-05 12:33:27 -08:00
callback Fix for callback plugins on Python3 when a module returns dictionary keys that aren't strings 2018-12-04 23:03:48 -08:00
cliconf Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
connection ensure ssh retry respects no log (#49569) 2018-12-10 09:55:18 -05:00
filter fix py3 scope for unique filter errors, enable filters integration tests on rhel8 beta (#48961) 2018-12-06 16:13:26 +10:00
httpapi Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
inventory Fix Unicode-objects must be encoded before hashing (#46608) 2018-12-10 17:09:29 -08:00
lookup Add support for variable_{start,end}_string (#49711) 2018-12-11 15:22:12 +05:30
netconf Fix iosxr netconf plugin response namespace (#49238) 2018-11-29 13:21:41 +05:30
shell split PS wrapper and payload (CVE-2018-16859) (#49142) 2018-11-26 15:28:21 -08:00
strategy Consolidate handler tracking (#49338) 2018-12-11 10:58:19 -05:00
terminal Fix regex on ASA password prompt (#49438) 2018-12-03 13:00:28 +00:00
test Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
vars removes talk of hardcoded loading from plugin docs (#49383) 2018-11-30 14:37:55 -06:00
__init__.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00
loader.py Add a Singleton metaclass, use it with Display (#48935) 2018-11-20 17:06:51 -06:00