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

View File

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

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