Skip to content

Commit

Permalink
Use full path to nomad.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Sep 20, 2024
1 parent eec0907 commit 0ee1541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/pul_nomad/tasks/imagecat_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

- name: 'pul_nomad_imagecat | add the application environment variables'
ansible.builtin.shell:
cmd: 'nomad var put -force nomad/jobs/imagecat-production {{ imagecat_production_nomad_env_vars.keys() | zip(imagecat_production_nomad_env_vars.values()) | map("join", "=") | join(" ") }}'
cmd: '/usr/local/bin/nomad var put -force nomad/jobs/imagecat-production {{ imagecat_production_nomad_env_vars.keys() | zip(imagecat_production_nomad_env_vars.values()) | map("join", "=") | join(" ") }}'
environment:
NOMAD_TOKEN: '{{ pul_nomad_management_token }}'
run_once: true
2 changes: 1 addition & 1 deletion roles/pul_nomad/tasks/imagecat_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

- name: 'pul_nomad_imagecat | add the application environment variables'
ansible.builtin.shell:
cmd: 'nomad var put -force nomad/jobs/imagecat-staging {{ imagecat_staging_nomad_env_vars.keys() | zip(imagecat_staging_nomad_env_vars.values()) | map("join", "=") | join(" ") }}'
cmd: '/usr/local/bin/nomad var put -force nomad/jobs/imagecat-staging {{ imagecat_staging_nomad_env_vars.keys() | zip(imagecat_staging_nomad_env_vars.values()) | map("join", "=") | join(" ") }}'
environment:
NOMAD_TOKEN: '{{ pul_nomad_management_token }}'
run_once: true

0 comments on commit 0ee1541

Please sign in to comment.