Replace json.j2 template with copy and content
This commit is contained in:
parent
4cc94969f5
commit
cb10a962e3
6 changed files with 9 additions and 14 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
- name: Create config
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ (service_path, 'config.yml') | path_join }}"
|
||||
dest: "{{ (service_path, 'config.yaml') | path_join }}"
|
||||
content: '{{ gatus_yml | to_nice_yaml }}'
|
||||
mode: "0644"
|
||||
notify: Restart service {{ role_name }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue