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: "{{ teamspeak_fallback_svc }}"
|
||||
compose: "{{ teamspeak_fallback_compose }}"
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
src: Dockerfile
|
||||
dest: "{{ (service_path, 'Dockerfile') | path_join }}"
|
||||
mode: "0644"
|
||||
notify: Rebuild service {{ role_name }}
|
||||
notify: Rebuild service {{ service_name }}
|
||||
|
||||
- name: Template the conditional-start script
|
||||
ansible.builtin.template:
|
||||
|
|
@ -39,7 +39,7 @@
|
|||
dest: "{{ (teamspeak_fallback_config_path, 'hooks.yml') | path_join }}"
|
||||
content: '{{ teamspeak_fallback_yml | to_nice_yaml }}'
|
||||
mode: "0644"
|
||||
notify: Restart service {{ role_name }}
|
||||
notify: Restart service {{ service_name }}
|
||||
|
||||
- name: Copy the teamspeak-fallback-db script
|
||||
ansible.builtin.copy:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue