Skip to content

Commit

Permalink
Rename Ansible template with .j2 extension
Browse files Browse the repository at this point in the history
The original file had .yaml extension, however it is not YAML files but
Jinja2 template, so renaming it to .yaml.j2 instead. This is to fix Snyk
parsing.
  • Loading branch information
pbchekin committed May 14, 2024
1 parent 0620835 commit 86104af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/jumphost/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
become: true
copy:
dest: /etc/docker/daemon.json
content: "{{ lookup('template', 'docker-daemon.yaml') | from_yaml | to_json }}"
content: "{{ lookup('template', 'docker-daemon.yaml.j2') | from_yaml | to_json }}"

- name: Restart Docker
become: true
Expand Down

0 comments on commit 86104af

Please sign in to comment.