Rename service.*.j2 files
This commit is contained in:
parent
b6297638db
commit
c95be92f46
8 changed files with 6 additions and 5 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
- name: Template config
|
||||
ansible.builtin.template:
|
||||
src: service.yml.j2
|
||||
src: yml.j2
|
||||
dest: "{{ (service_path, 'harbor.yml') | path_join }}"
|
||||
mode: "0644"
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
- name: Template config
|
||||
ansible.builtin.template:
|
||||
src: service.yml.j2
|
||||
src: yml.j2
|
||||
dest: "{{ (service_path, 'influxdb.yml') | path_join }}"
|
||||
mode: "0600"
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
- name: Template config
|
||||
ansible.builtin.template:
|
||||
src: service.yml.j2
|
||||
src: yml.j2
|
||||
dest: "{{ (config_path, 'homeserver.yaml') | path_join }}"
|
||||
mode: "0644"
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
- name: Template main config
|
||||
ansible.builtin.template:
|
||||
src: service.yml.j2
|
||||
src: yml.j2
|
||||
dest: "{{ (config_path, 'hooks.yml') | path_join }}"
|
||||
mode: "0644"
|
||||
register: cmd_result
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- name: Template service.env file
|
||||
ansible.builtin.template:
|
||||
src: service.env.j2
|
||||
src: env.j2
|
||||
dest: "{{ (service_path, 'service.env') | path_join }}"
|
||||
mode: "0700"
|
||||
|
|
1
templates/json.j2
Normal file
1
templates/json.j2
Normal file
|
@ -0,0 +1 @@
|
|||
{{ json | to_json }}
|
Reference in a new issue