mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-21 14:58:02 +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}}"
|
||||
dest: "{{base_dir}}/goatcounter"
|
||||
state: link
|
||||
- name: write goatcounter unit file
|
||||
- name: write service unit file
|
||||
become: true
|
||||
template:
|
||||
src: ../templates/goatcounter.service.j2
|
||||
|
@ -37,7 +37,7 @@
|
|||
- restart goatcounter
|
||||
- name: flush handlers
|
||||
meta: flush_handlers
|
||||
- name: ensure goatcounter is running
|
||||
- name: ensure service is running
|
||||
become: true
|
||||
service:
|
||||
name: goatcounter
|
||||
|
@ -49,7 +49,7 @@
|
|||
become: true
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
- name: restart goatcounter
|
||||
- name: restart service
|
||||
become: true
|
||||
service:
|
||||
name: goatcounter
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- name: lyon-transports
|
||||
hosts: servers
|
||||
tasks:
|
||||
- name: write lyon-transports unit file
|
||||
- name: write service file
|
||||
become: true
|
||||
template:
|
||||
src: ../templates/lyon-transports.service.j2
|
||||
|
@ -11,7 +11,7 @@
|
|||
- restart lyon-transports
|
||||
- name: flush handlers
|
||||
meta: flush_handlers
|
||||
- name: ensure lyon-transports is running
|
||||
- name: ensure service is running
|
||||
become: true
|
||||
service:
|
||||
name: lyon-transports
|
||||
|
@ -23,7 +23,7 @@
|
|||
become: true
|
||||
systemd:
|
||||
daemon_reload: true
|
||||
- name: restart lyon-transports
|
||||
- name: restart service
|
||||
become: true
|
||||
service:
|
||||
name: lyon-transports
|
||||
|
|
Loading…
Reference in a new issue