diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_aa_policy.py b/lib/ansible/modules/extras/cloud/centurylink/clc_aa_policy.py index 7596651181..681e71cb3a 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_aa_policy.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_aa_policy.py @@ -100,11 +100,6 @@ EXAMPLES = ''' ''' RETURN = ''' -changed: - description: A flag indicating if any change was made or not - returned: success - type: boolean - sample: True policy: description: The anti affinity policy information returned: success diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_alert_policy.py b/lib/ansible/modules/extras/cloud/centurylink/clc_alert_policy.py index c096c40ca4..6a619d112a 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_alert_policy.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_alert_policy.py @@ -132,11 +132,6 @@ EXAMPLES = ''' ''' RETURN = ''' -changed: - description: A flag indicating if any change was made or not - returned: success - type: boolean - sample: True policy: description: The alert policy information returned: success diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_blueprint_package.py b/lib/ansible/modules/extras/cloud/centurylink/clc_blueprint_package.py index 2b0a9774b6..4e8a392495 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_blueprint_package.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_blueprint_package.py @@ -81,11 +81,6 @@ EXAMPLES = ''' ''' RETURN = ''' -changed: - description: A flag indicating if any change was made or not - returned: success - type: boolean - sample: True server_ids: description: The list of server ids that are changed returned: success diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_firewall_policy.py b/lib/ansible/modules/extras/cloud/centurylink/clc_firewall_policy.py index b37123b4ec..c26128a40b 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_firewall_policy.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_firewall_policy.py @@ -130,11 +130,6 @@ EXAMPLES = ''' ''' RETURN = ''' -changed: - description: A flag indicating if any change was made or not - returned: success - type: boolean - sample: True firewall_policy_id: description: The fire wall policy id returned: success diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_group.py b/lib/ansible/modules/extras/cloud/centurylink/clc_group.py index bc8247a41e..95da5234f1 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_group.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_group.py @@ -112,11 +112,6 @@ EXAMPLES = ''' ''' RETURN = ''' -changed: - description: A flag indicating if any change was made or not - returned: success - type: boolean - sample: True group: description: The group information returned: success diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_loadbalancer.py b/lib/ansible/modules/extras/cloud/centurylink/clc_loadbalancer.py index 7771a7ea36..abb421c755 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_loadbalancer.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_loadbalancer.py @@ -174,11 +174,6 @@ EXAMPLES = ''' ''' RETURN = ''' -changed: - description: A flag indicating if any change was made or not - returned: success - type: boolean - sample: True loadbalancer: description: The load balancer result object from CLC returned: success diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_modify_server.py b/lib/ansible/modules/extras/cloud/centurylink/clc_modify_server.py index a7ccbaefc4..a676248ffd 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_modify_server.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_modify_server.py @@ -155,11 +155,6 @@ EXAMPLES = ''' ''' RETURN = ''' -changed: - description: A flag indicating if any change was made or not - returned: success - type: boolean - sample: True server_ids: description: The list of server ids that are changed returned: success diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_publicip.py b/lib/ansible/modules/extras/cloud/centurylink/clc_publicip.py index cfb09b3f69..be75ae4c58 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_publicip.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_publicip.py @@ -111,11 +111,6 @@ EXAMPLES = ''' ''' RETURN = ''' -changed: - description: A flag indicating if any change was made or not - returned: success - type: boolean - sample: True server_ids: description: The list of server ids that are changed returned: success diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_server.py b/lib/ansible/modules/extras/cloud/centurylink/clc_server.py index 42cd70ae8e..3cb4404012 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_server.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_server.py @@ -277,11 +277,6 @@ EXAMPLES = ''' ''' RETURN = ''' -changed: - description: A flag indicating if any change was made or not - returned: success - type: boolean - sample: True server_ids: description: The list of server ids that are created returned: success diff --git a/lib/ansible/modules/extras/cloud/centurylink/clc_server_snapshot.py b/lib/ansible/modules/extras/cloud/centurylink/clc_server_snapshot.py index 6d6963e209..6c7e8920e4 100644 --- a/lib/ansible/modules/extras/cloud/centurylink/clc_server_snapshot.py +++ b/lib/ansible/modules/extras/cloud/centurylink/clc_server_snapshot.py @@ -94,11 +94,6 @@ EXAMPLES = ''' ''' RETURN = ''' -changed: - description: A flag indicating if any change was made or not - returned: success - type: boolean - sample: True server_ids: description: The list of server ids that are changed returned: success diff --git a/lib/ansible/modules/extras/cloud/vmware/vmware_local_user_manager.py b/lib/ansible/modules/extras/cloud/vmware/vmware_local_user_manager.py index 27ca703c20..c7e8ecb931 100644 --- a/lib/ansible/modules/extras/cloud/vmware/vmware_local_user_manager.py +++ b/lib/ansible/modules/extras/cloud/vmware/vmware_local_user_manager.py @@ -60,18 +60,12 @@ EXAMPLES = ''' local_action: module: vmware_local_user_manager hostname: esxi_hostname - username: root + username: root password: vmware - local_user_name: foo + local_user_name: foo ''' -RETURN = ''' -changed: - description: A flag indicating if any change was made or not. - returned: success - type: boolean - sample: True -''' +RETURN = '''# ''' try: from pyVmomi import vim, vmodl @@ -181,12 +175,12 @@ def main(): local_user_password=dict(required=False, type='str', no_log=True), local_user_description=dict(required=False, type='str'), state=dict(default='present', choices=['present', 'absent'], type='str'))) - + module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=False) if not HAS_PYVMOMI: module.fail_json(msg='pyvmomi is required for this module') - + vmware_local_user_manager = VMwareLocalUserManager(module) vmware_local_user_manager.process_state()