mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Fix daemon_reload in systemd module
This commit is contained in:
@@ -76,7 +76,7 @@ EXAMPLES = '''
|
||||
# Example action to stop service cron on debian, if running
|
||||
- systemd: name=cron state=stopped
|
||||
# Example action to restart service cron on centos, in all cases, also issue deamon-reload to pick up config changes
|
||||
- systemd: state=restarted daemon_reload: yes name=crond
|
||||
- systemd: state=restarted daemon_reload=yes name=crond
|
||||
# Example action to reload service httpd, in all cases
|
||||
- systemd: name=httpd state=reloaded
|
||||
# Example action to enable service httpd and ensure it is not masked
|
||||
|
||||
Reference in New Issue
Block a user