diff --git a/lib/ansible/modules/cloud/lxd/lxd_profile.py b/lib/ansible/modules/cloud/lxd/lxd_profile.py index c8ad1c7e5b8..c90b057fe35 100644 --- a/lib/ansible/modules/cloud/lxd/lxd_profile.py +++ b/lib/ansible/modules/cloud/lxd/lxd_profile.py @@ -26,6 +26,10 @@ options: description: - Name of a profile. required: true + description: + description: + - Description of the profile. + version_added: "2.5" config: description: - 'The config for the container (e.g. {"limits.memory": "4GB"}). @@ -147,7 +151,7 @@ EXAMPLES = ''' state: present ''' -RETURN=''' +RETURN = ''' old_state: description: The old state of the profile returned: success @@ -356,7 +360,7 @@ def main(): type='str', default='{}/.config/lxc/client.crt'.format(os.environ['HOME']) ), - trust_password=dict( type='str', no_log=True) + trust_password=dict(type='str', no_log=True) ), supports_check_mode=False, ) diff --git a/test/sanity/pep8/legacy-files.txt b/test/sanity/pep8/legacy-files.txt index 823aafd5656..99fdcb67710 100644 --- a/test/sanity/pep8/legacy-files.txt +++ b/test/sanity/pep8/legacy-files.txt @@ -92,7 +92,6 @@ lib/ansible/modules/cloud/google/gcpubsub.py lib/ansible/modules/cloud/google/gcspanner.py lib/ansible/modules/cloud/lxc/lxc_container.py lib/ansible/modules/cloud/lxd/lxd_container.py -lib/ansible/modules/cloud/lxd/lxd_profile.py lib/ansible/modules/cloud/misc/ovirt.py lib/ansible/modules/cloud/misc/rhevm.py lib/ansible/modules/cloud/misc/serverless.py