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:
parent
25f3446fab
commit
ee145c3a24
@ -14,7 +14,8 @@
|
||||
# limitations under the License.
|
||||
|
||||
- name: Reload systemd daemon
|
||||
command: "systemctl daemon-reload"
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
notify:
|
||||
- Restart octavia services
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user