mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
83194a0a99
* module/systemd: fix logic determining if a service needs to be enabled (#46245) * modules/systemd: fix logic: allow scope to default to 'system' Fix logic introduced in 7ea909418e5: if 'scope' param is not specified, it defaults to system, but the value of module.params['scope'] is None, not 'system' - so allow for that. * modules/systemd: fix logic: disabled means disabled Fix logic determining whether a service with both systemd and initd files is enabled or disabled. In situations where systemd thinks service is disabled, but rc.d symlinks mark it as enabled, this module wrongly assumes the service is enabled. Fix this logic: disabled means disabled Only when the output from does NOT include disabled, consider the status of rc.d symlinks. This essentially replicates the fixes done to the systemd handling in the "service" module in |
6 years ago | |
---|---|---|
.. | ||
cli | 6 years ago | |
compat | 6 years ago | |
config | 6 years ago | |
errors | ||
executor | 6 years ago | |
galaxy | 6 years ago | |
inventory | 6 years ago | |
module_utils | 6 years ago | |
modules | 6 years ago | |
parsing | 6 years ago | |
playbook | 6 years ago | |
plugins | 6 years ago | |
template | 6 years ago | |
utils | 6 years ago | |
vars | 6 years ago | |
__init__.py | ||
constants.py | 6 years ago | |
release.py | 6 years ago |