Skip to content

Commit

Permalink
Merge pull request #1151 from ministryofjustice/DBA-793-1
Browse files Browse the repository at this point in the history
Do not set become: if running in AWS
  • Loading branch information
bill-buchan authored Dec 4, 2024
2 parents 7f00d3d + 2e9d621 commit 4bc4eaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/oracle-oms-setup/tasks/create_jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
depth: 1
file_type: file
delegate_to: localhost
become: "{{ is_aws_environment | default(true) }}"
become: "{{ omit if (is_aws_environment | default(true)) else false }}"
register: get_oem_job_property_files
loop: "{{ application_groups.keys() | list + ['common'] }}"
loop_control:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
depth: 1
file_type: directory
delegate_to: localhost
become: "{{ is_aws_environment | default(true) }}"
become: "{{ omit if (is_aws_environment | default(true)) else false }}"
register: get_metric_extensions
loop: "{{ application_groups.keys() | list + ['common'] }}"
loop_control:
Expand Down

0 comments on commit 4bc4eaf

Please sign in to comment.