diff options
Diffstat (limited to 'awx_collection')
-rw-r--r-- | awx_collection/plugins/module_utils/controller_api.py | 2 | ||||
-rw-r--r-- | awx_collection/plugins/modules/credential.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/awx_collection/plugins/module_utils/controller_api.py b/awx_collection/plugins/module_utils/controller_api.py index ba542f00fe..21562602a5 100644 --- a/awx_collection/plugins/module_utils/controller_api.py +++ b/awx_collection/plugins/module_utils/controller_api.py @@ -909,7 +909,7 @@ class ControllerAPIModule(ControllerModule): if response['status_code'] == 200: # compare apples-to-apples, old API data to new API data # but do so considering the fields given in parameters - self.json_output['changed'] = self.objects_could_be_different(existing_item, response['json'], field_set=new_item.keys(), warning=True) + self.json_output['changed'] |= self.objects_could_be_different(existing_item, response['json'], field_set=new_item.keys(), warning=True) elif 'json' in response and '__all__' in response['json']: self.fail_json(msg=response['json']['__all__']) else: diff --git a/awx_collection/plugins/modules/credential.py b/awx_collection/plugins/modules/credential.py index 6eacbecf73..0af04f2948 100644 --- a/awx_collection/plugins/modules/credential.py +++ b/awx_collection/plugins/modules/credential.py @@ -158,7 +158,7 @@ EXAMPLES = ''' controller_password: ansible controller_host: https://localhost -- name: Create a Vaiult credential (example for notes) +- name: Create a Vault credential (example for notes) credential: name: Example password credential_type: Vault |