Skip to content

Commit

Permalink
refactor: link meta.json to artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci committed Jun 28, 2024
1 parent d019d80 commit 992b9ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infrastructure/nomad/playbooks/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,9 @@
when: build_templates

- name: Create "meta.json"
copy:
content: "{{ environments[env] | to_json }}"
dest: "{{ ansible_env.HOME }}/{{ env }}/meta.json"
ansible.builtin.shell: |
echo '{{ environments[env] | to_json }}' > {{ ansible_env.HOME }}/{{ env }}/meta.json
ln -f {{ ansible_env.HOME }}/{{ env }}/meta.json {{ ansible_env.HOME }}/{{ env }}/artifacts/meta.json
when: build_templates

- name: Purge Cluster
Expand Down

0 comments on commit 992b9ae

Please sign in to comment.