-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #424 from automationiberia/rename_tasks_object_diff
remove OBJECT DIFF from task name
- Loading branch information
Showing
13 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
--- | ||
# tasks file for controller_credential_types | ||
- name: "OBJECT DIFF: Get the API list of all Credential Types" | ||
- name: "Get the API list of all Credential Types" | ||
ansible.builtin.set_fact: | ||
__controller_api_credential_types: "{{ query(controller_api_plugin, 'credential_types', | ||
query_params={'managed': false}, | ||
host=controller_hostname, oauth_token=controller_oauthtoken, verify_ssl=controller_validate_certs) }}" | ||
when: is_aap | ||
|
||
- name: "OBJECT DIFF: Get the API list of all Credential Types" | ||
- name: "Get the API list of all Credential Types" | ||
ansible.builtin.set_fact: | ||
__controller_api_credential_types: "{{ query(controller_api_plugin, 'credential_types', | ||
query_params={'managed_by_tower': false}, | ||
host=controller_hostname, oauth_token=controller_oauthtoken, verify_ssl=controller_validate_certs) }}" | ||
when: not is_aap | ||
|
||
- name: "OBJECT DIFF: Find the difference of Credential Types between what is on the Controller versus CasC on SCM" | ||
- name: "Find the difference of Credential Types between what is on the Controller versus CasC on SCM" | ||
ansible.builtin.set_fact: | ||
__credential_types_difference: "{{ lookup('redhat_cop.controller_configuration.controller_object_diff', | ||
api_list=__controller_api_credential_types, compare_list=controller_credential_types, | ||
with_present=false, set_absent=true) }}" | ||
|
||
- name: "OBJECT DIFF: Set credential's list to be configured" | ||
- name: "Set credential's list to be configured" | ||
ansible.builtin.set_fact: | ||
controller_credential_types: "{{ __credential_types_difference }}" | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.