From 336c9f9f35bf9df0df1119ed02b0f368e4b74d9e Mon Sep 17 00:00:00 2001 From: Laurent Godet Date: Mon, 3 Oct 2016 22:45:57 +0100 Subject: [PATCH] Fix daemon_reload in systemd module --- lib/ansible/modules/system/systemd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/systemd.py b/lib/ansible/modules/system/systemd.py index 874b99528a..a92c776a03 100644 --- a/lib/ansible/modules/system/systemd.py +++ b/lib/ansible/modules/system/systemd.py @@ -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