Skip to content

Commit

Permalink
Fix typo in task "Stop if post-deploy command failed"
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Dec 6, 2023
1 parent 72e9cba commit a741fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy_pgcluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
- name: Stop if pre-deploy command failed
ansible.builtin.fail:
msg: "Pre-deploy command failed. See log for details."
when: pre_deploy_result.results | json_query('[?failed]') | length > 0
when: pre_deploy_job_result.results | json_query('[?failed]') | length > 0
run_once: true # noqa run-once
when: pre_deploy_command | default('') | length > 0
tags: pre_deploy, pre_deploy_command
Expand Down Expand Up @@ -403,7 +403,7 @@
- name: Stop if post-deploy command failed
ansible.builtin.fail:
msg: "Post-deploy command failed. See log for details."
when: post_deploy_result.results | json_query('[?failed]') | length > 0
when: post_deploy_job_result.results | json_query('[?failed]') | length > 0
run_once: true # noqa run-once
when: post_deploy_command | default('') | length > 0
tags: post_deploy, post_deploy_command
Expand Down

0 comments on commit a741fde

Please sign in to comment.