Merge branch 'no_handler_systemd' into 'master'

Remove useless systemd handler

See merge request aurore/ansible!39
This commit is contained in:
Alexandre IOOSS 2019-04-06 15:24:27 +02:00
commit 11173eef23
10 changed files with 10 additions and 35 deletions

View file

@ -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

View file

@ -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

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
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é !

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
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

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
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

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
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