Skip to content

Commit

Permalink
chore: Defaults for the use_organization_id (#1105)
Browse files Browse the repository at this point in the history
  • Loading branch information
NSSPKrishna authored Aug 12, 2024
1 parent 3a152b7 commit 07435c1
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
newrelic_region: "US"
when: newrelic_region is not defined

- name: Prepare newrelic_organization_id
set_fact:
use_organization_id: false
when: newrelic_organization_id is not defined

- fail:
msg: "A newrelic_personal_api_key is required. Create this entry in your user config file"
when: newrelic_personal_api_key is not defined
Expand Down Expand Up @@ -174,5 +179,3 @@
msg: "Failed to validate that {{ validate_output }} is in output:{{ output.stdout }}"
when: validate_output is defined and output.stdout is not search(validate_output)
when: command_should_fail == False
when: validate_output is defined and output.stdout is not search(validate_output)
when: command_should_fail == False

0 comments on commit 07435c1

Please sign in to comment.