Remove useless systemd handler

This commit is contained in:
Alexandre Iooss 2019-04-06 15:19:52 +02:00
parent df6c966b7f
commit 55cf8b801d
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02
10 changed files with 10 additions and 35 deletions

View file

@ -7,8 +7,3 @@
chdir: /var/local/codimd/codimd chdir: /var/local/codimd/codimd
become: true become: true
become_user: codimd become_user: codimd
# Reload systemd daemons when a service file changes
- name: Reload systemd daemons
systemd:
daemon_reload: true

View file

@ -50,11 +50,11 @@
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
notify: Reload systemd daemons
# Run # Run
- name: "Ensure that {{ service_name }} is started" - name: "Ensure that {{ service_name }} is started"
service: systemd:
name: "{{ service_name }}" name: "{{ service_name }}"
state: started state: started
enabled: true enabled: true
daemon_reload: true

View file

@ -1,5 +0,0 @@
---
# Reload systemd daemons when a service file changes
- name: Reload systemd daemons
systemd:
daemon_reload: true

View file

@ -69,14 +69,14 @@
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
notify: Reload systemd daemons
# Run # Run
- name: Ensure that EtherPad is started - name: Ensure that EtherPad is started
service: systemd:
name: etherpad-lite name: etherpad-lite
state: started state: started
enabled: true enabled: true
daemon_reload: true
# TODO-list # TODO-list
# La configuration de la clé `dbSettings` n'est pas encore automatisé ! # La configuration de la clé `dbSettings` n'est pas encore automatisé !

View file

@ -1,5 +0,0 @@
---
# Reload systemd daemons when a service file changes
- name: Reload systemd daemons
systemd:
daemon_reload: true

View file

@ -48,7 +48,6 @@
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
notify: Reload systemd daemons
# TODO generate registration # TODO generate registration
@ -63,7 +62,8 @@
# Run # Run
- name: "Ensure that {{ service_name }} is started" - name: "Ensure that {{ service_name }} is started"
service: systemd:
name: "{{ service_name }}" name: "{{ service_name }}"
state: started state: started
enabled: true enabled: true
daemon_reload: true

View file

@ -1,5 +0,0 @@
---
# Reload systemd daemons when a service file changes
- name: Reload systemd daemons
systemd:
daemon_reload: true

View file

@ -37,7 +37,6 @@
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
notify: Reload systemd daemons
# TODO generate registration # TODO generate registration
# node app.js -r -f irc-registration.yaml -u "http://localhost:9999" -c config.yaml -l ircbot # node app.js -r -f irc-registration.yaml -u "http://localhost:9999" -c config.yaml -l ircbot
@ -53,7 +52,8 @@
# Run # Run
- name: "Ensure that {{ service_name }} is started" - name: "Ensure that {{ service_name }} is started"
service: systemd:
name: "{{ service_name }}" name: "{{ service_name }}"
state: started state: started
enabled: true enabled: true
daemon_reload: true

View file

@ -1,5 +0,0 @@
---
# Reload systemd daemons when a service file changes
- name: Reload systemd daemons
systemd:
daemon_reload: true

View file

@ -37,7 +37,6 @@
owner: root owner: root
group: root group: root
mode: 0644 mode: 0644
notify: Reload systemd daemons
# TODO generate registration # TODO generate registration
@ -52,7 +51,8 @@
# Run # Run
- name: "Ensure that {{ service_name }} is started" - name: "Ensure that {{ service_name }} is started"
service: systemd:
name: "{{ service_name }}" name: "{{ service_name }}"
state: started state: started
enabled: true enabled: true
daemon_reload: true