Fix daemon_reload in systemd module

This commit is contained in:
Laurent Godet 2016-10-03 22:45:57 +01:00 committed by Matt Clay
parent 283205d7b3
commit 336c9f9f35

View file

@ -76,7 +76,7 @@ EXAMPLES = '''
# Example action to stop service cron on debian, if running # Example action to stop service cron on debian, if running
- systemd: name=cron state=stopped - 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 # 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 # Example action to reload service httpd, in all cases
- systemd: name=httpd state=reloaded - systemd: name=httpd state=reloaded
# Example action to enable service httpd and ensure it is not masked # Example action to enable service httpd and ensure it is not masked