Fix E303 systemctl used in place of systemd module

This commit is contained in:
Jeremy Gardais 2019-02-26 14:05:37 +01:00
parent 67b3cbc635
commit f85fd58bad
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
## v2.1.2
* Fix E405 Remote package tasks should have a retry.
* Fix E303 systemctl used in place of systemd module.
## v2.1.1

View File

@ -93,8 +93,9 @@
when: ( (flexlm__deploy_state == "present") and
( item.service | d(True) ))
- name: Reload systemd daemons
command: systemctl daemon-reload
- name: Force systemd to reread configs
systemd:
daemon_reload: True
notify: ['restart flexlm services']
when: ( flexlm__register_service|changed )