Use systemd module instead of command

This causes linters to break: since ansible 2.4 the systemd
module can have only the daemon_reload directive.

Change-Id: I84b2dee8ef7e133dce63f587e9fba63cacc56431
This commit is contained in:
Jean-Philippe Evrard 2018-01-15 15:23:54 +00:00
parent 25f3446fab
commit ee145c3a24
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@
# limitations under the License.
- name: Reload systemd daemon
command: "systemctl daemon-reload"
systemd:
daemon_reload: yes
notify:
- Restart octavia services