Remove useless systemd handler
This commit is contained in:
parent
df6c966b7f
commit
55cf8b801d
10 changed files with 10 additions and 35 deletions
|
@ -7,8 +7,3 @@
|
|||
chdir: /var/local/codimd/codimd
|
||||
become: true
|
||||
become_user: codimd
|
||||
|
||||
# Reload systemd daemons when a service file changes
|
||||
- name: Reload systemd daemons
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
|
|
|
@ -50,11 +50,11 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: Reload systemd daemons
|
||||
|
||||
# Run
|
||||
- name: "Ensure that {{ service_name }} is started"
|
||||
service:
|
||||
systemd:
|
||||
name: "{{ service_name }}"
|
||||
state: started
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
# Reload systemd daemons when a service file changes
|
||||
- name: Reload systemd daemons
|
||||
systemd:
|
||||
daemon_reload: true
|
|
@ -69,14 +69,14 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: Reload systemd daemons
|
||||
|
||||
# Run
|
||||
- name: Ensure that EtherPad is started
|
||||
service:
|
||||
systemd:
|
||||
name: etherpad-lite
|
||||
state: started
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
|
||||
# TODO-list
|
||||
# La configuration de la clé `dbSettings` n'est pas encore automatisé !
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
# Reload systemd daemons when a service file changes
|
||||
- name: Reload systemd daemons
|
||||
systemd:
|
||||
daemon_reload: true
|
|
@ -48,7 +48,6 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: Reload systemd daemons
|
||||
|
||||
# TODO generate registration
|
||||
|
||||
|
@ -63,7 +62,8 @@
|
|||
|
||||
# Run
|
||||
- name: "Ensure that {{ service_name }} is started"
|
||||
service:
|
||||
systemd:
|
||||
name: "{{ service_name }}"
|
||||
state: started
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
# Reload systemd daemons when a service file changes
|
||||
- name: Reload systemd daemons
|
||||
systemd:
|
||||
daemon_reload: true
|
|
@ -37,7 +37,6 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: Reload systemd daemons
|
||||
|
||||
# TODO generate registration
|
||||
# node app.js -r -f irc-registration.yaml -u "http://localhost:9999" -c config.yaml -l ircbot
|
||||
|
@ -53,7 +52,8 @@
|
|||
|
||||
# Run
|
||||
- name: "Ensure that {{ service_name }} is started"
|
||||
service:
|
||||
systemd:
|
||||
name: "{{ service_name }}"
|
||||
state: started
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
# Reload systemd daemons when a service file changes
|
||||
- name: Reload systemd daemons
|
||||
systemd:
|
||||
daemon_reload: true
|
|
@ -37,7 +37,6 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
notify: Reload systemd daemons
|
||||
|
||||
# TODO generate registration
|
||||
|
||||
|
@ -52,7 +51,8 @@
|
|||
|
||||
# Run
|
||||
- name: "Ensure that {{ service_name }} is started"
|
||||
service:
|
||||
systemd:
|
||||
name: "{{ service_name }}"
|
||||
state: started
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
|
|
Loading…
Reference in a new issue