Skip to content

Commit

Permalink
update task to account for login domain in prep for ndfc 3.2 and onem…
Browse files Browse the repository at this point in the history
…anage (#187)
  • Loading branch information
mtarking authored Sep 13, 2024
1 parent 97adf02 commit 3c0c85f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/validate/tasks/verify_ndfc_authorization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Content-Type: "application/json"
body_format: json
body:
"domain": local
"domain": "{{ ansible_httpapi_login_domain | default('local') }}"
"userName": "{{ ansible_user }}"
"userPasswd": "{{ ansible_password }}"
status_code:
Expand All @@ -24,5 +24,5 @@
rescue:
- name: Fail Play If NDFC Authorization Test Failed
ansible.builtin.fail:
msg: "NDFC authorization failed using specified ansible_user and ansible_password for https://{{ ansible_host }}:{{ ansible_httpapi_port | default(443) }}. Check NDFC credentials."
msg: "NDFC authorization failed using specified ansible_user and ansible_password for https://{{ ansible_host }}:{{ ansible_httpapi_port | default(443) }}. Check NDFC credentials and/or login domain."
delegate_to: localhost

0 comments on commit 3c0c85f

Please sign in to comment.