mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Make note about enablement bit
This commit is contained in:
parent
934f416387
commit
931b9f41c8
1 changed files with 2 additions and 0 deletions
|
@ -647,6 +647,8 @@ def main():
|
|||
|
||||
# Enable/disable service startup at boot if requested
|
||||
if service.module.params['enabled']:
|
||||
# FIXME: ideally this should detect if we need to toggle the enablement state, though
|
||||
# it's unlikely the changed handler would need to fire in this case so it's a minor thing.
|
||||
service.service_enable()
|
||||
|
||||
# Collect service status
|
||||
|
|
Loading…
Reference in a new issue