Skip to content

Commit bfdb83b

Browse files
authored
Merge pull request #1 from adonisgarciac/list_controller_api_organizations
change lookup for query to get a list for fact __controller_api_organizations
2 parents fb31267 + 9bc0354 commit bfdb83b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/controller_casc_desired_state/tasks/organizations_desired_state.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
- "{{ controller_validate_certs }}"
3030

3131
- set_fact:
32-
__controller_api_organizations: "{{ lookup('ansible.controller.controller_api', 'organizations',
32+
__controller_api_organizations: "{{ query('ansible.controller.controller_api', 'organizations',
3333
host=controller_hostname, username=controller_username, password=controller_password, verify_ssl=controller_validate_certs) }}"
3434

3535
- name: "DESIRED STATE: Find the difference of Organizations between what is on the Controller versus curated list."

0 commit comments

Comments
 (0)