mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-21 23:08:01 +01:00
rename some tasks more generically
This commit is contained in:
parent
f016336bd8
commit
559c75c762
2 changed files with 6 additions and 6 deletions
|
@ -27,7 +27,7 @@
|
||||||
src: "{{base_dir}}/goatcounter-{{release.tag}}"
|
src: "{{base_dir}}/goatcounter-{{release.tag}}"
|
||||||
dest: "{{base_dir}}/goatcounter"
|
dest: "{{base_dir}}/goatcounter"
|
||||||
state: link
|
state: link
|
||||||
- name: write goatcounter unit file
|
- name: write service unit file
|
||||||
become: true
|
become: true
|
||||||
template:
|
template:
|
||||||
src: ../templates/goatcounter.service.j2
|
src: ../templates/goatcounter.service.j2
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
- restart goatcounter
|
- restart goatcounter
|
||||||
- name: flush handlers
|
- name: flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
- name: ensure goatcounter is running
|
- name: ensure service is running
|
||||||
become: true
|
become: true
|
||||||
service:
|
service:
|
||||||
name: goatcounter
|
name: goatcounter
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
become: true
|
become: true
|
||||||
systemd:
|
systemd:
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
- name: restart goatcounter
|
- name: restart service
|
||||||
become: true
|
become: true
|
||||||
service:
|
service:
|
||||||
name: goatcounter
|
name: goatcounter
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- name: lyon-transports
|
- name: lyon-transports
|
||||||
hosts: servers
|
hosts: servers
|
||||||
tasks:
|
tasks:
|
||||||
- name: write lyon-transports unit file
|
- name: write service file
|
||||||
become: true
|
become: true
|
||||||
template:
|
template:
|
||||||
src: ../templates/lyon-transports.service.j2
|
src: ../templates/lyon-transports.service.j2
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
- restart lyon-transports
|
- restart lyon-transports
|
||||||
- name: flush handlers
|
- name: flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
- name: ensure lyon-transports is running
|
- name: ensure service is running
|
||||||
become: true
|
become: true
|
||||||
service:
|
service:
|
||||||
name: lyon-transports
|
name: lyon-transports
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
become: true
|
become: true
|
||||||
systemd:
|
systemd:
|
||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
- name: restart lyon-transports
|
- name: restart service
|
||||||
become: true
|
become: true
|
||||||
service:
|
service:
|
||||||
name: lyon-transports
|
name: lyon-transports
|
||||||
|
|
Loading…
Reference in a new issue