change restart service

This commit is contained in:
donotos
2021-09-05 22:16:29 +02:00
parent 4151d0b348
commit d658a2c7d5
2 changed files with 9 additions and 9 deletions

9
restart_service.yml Normal file
View File

@@ -0,0 +1,9 @@
---
- name: Redemarrer le service {{ host_service }}.
hosts: all
tasks:
- name: Redemarrer le process "{{ host_service }}"
systemd:
name: {{ host_service }}
state: restarted