Replace role_name with service_name
This commit is contained in:
parent
bdf1f8891b
commit
2ff6488a70
98 changed files with 128 additions and 124 deletions
|
|
@ -2,7 +2,7 @@
|
|||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
|
||||
- name: Deploy {{ role_name }}
|
||||
- name: Deploy {{ service_name }}
|
||||
vars:
|
||||
svc: "{{ loki_svc }}"
|
||||
compose: "{{ loki_compose }}"
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
dest: "{{ (service_path, 'loki.yaml') | path_join }}"
|
||||
content: '{{ loki_yml | to_nice_yaml }}'
|
||||
mode: "0644"
|
||||
notify: Restart service {{ role_name }}
|
||||
notify: Restart service {{ service_name }}
|
||||
|
||||
- name: Import start tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/start-common-service.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue