summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_user.py
diff options
context:
space:
mode:
authorKate Case <kcase@redhat.com>2022-10-13 13:11:19 -0400
committerGitHub <noreply@github.com>2022-10-13 13:11:19 -0400
commit5c6a97ae5052684aed513427f81dc1da96c094e3 (patch)
tree62cf80483b7f46551fec0bbcc7f5c5b50db1b2a5 /plugins/modules/vyos_user.py
parent7712afd90de9a2b4f6d91f3fbea77de20d6ed40e (diff)
downloadvyos.vyos-5c6a97ae5052684aed513427f81dc1da96c094e3.tar.gz
vyos.vyos-5c6a97ae5052684aed513427f81dc1da96c094e3.zip
Remove deprecated modules and provider (#277)
* Remove deprecated modules and provider * Remove tests for removed modules * Remove references to vyos_argument_spec
Diffstat (limited to 'plugins/modules/vyos_user.py')
-rw-r--r--plugins/modules/vyos_user.py20
1 files changed, 6 insertions, 14 deletions
diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py
index 6d07f9d8..b2e1acc7 100644
--- a/plugins/modules/vyos_user.py
+++ b/plugins/modules/vyos_user.py
@@ -33,6 +33,8 @@ description:
collection of usernames in the current running config. It also supports purging
usernames from the configuration that are not explicitly defined.
version_added: 1.0.0
+extends_documentation_fragment:
+- vyos.vyos.vyos
notes:
- Tested against VyOS 1.1.8 (helium).
- This module works with connection C(ansible.netcommon.network_cli). See L(the VyOS OS Platform Options,../network/user_guide/platform_vyos.html).
@@ -51,8 +53,7 @@ options:
name:
description:
- The username to be configured on the VyOS device. This argument accepts a string
- value and is mutually exclusive with the C(aggregate) argument. Please note
- that this option is not same as C(provider username).
+ value and is mutually exclusive with the C(aggregate) argument.
required: True
type: str
full_name:
@@ -63,8 +64,7 @@ options:
configured_password:
description:
- The password to be configured on the VyOS device. The password needs to be provided
- in clear and it will be encrypted on the device. Please note that this option
- is not same as C(provider password).
+ in clear and it will be encrypted on the device.
type: str
update_password:
description:
@@ -96,8 +96,7 @@ options:
name:
description:
- The username to be configured on the VyOS device. This argument accepts a string
- value and is mutually exclusive with the C(aggregate) argument. Please note
- that this option is not same as C(provider username).
+ value and is mutually exclusive with the C(aggregate) argument.
type: str
full_name:
description:
@@ -107,8 +106,7 @@ options:
configured_password:
description:
- The password to be configured on the VyOS device. The password needs to be provided
- in clear and it will be encrypted on the device. Please note that this option
- is not same as C(provider password).
+ in clear and it will be encrypted on the device.
type: str
update_password:
description:
@@ -146,8 +144,6 @@ options:
choices:
- present
- absent
-extends_documentation_fragment:
-- vyos.vyos.vyos
"""
EXAMPLES = """
@@ -198,9 +194,6 @@ from ansible_collections.vyos.vyos.plugins.module_utils.network.vyos.vyos import
load_config,
)
from ansible.module_utils.six import iteritems
-from ansible_collections.vyos.vyos.plugins.module_utils.network.vyos.vyos import (
- vyos_argument_spec,
-)
def validate_level(value, module):
@@ -368,7 +361,6 @@ def main():
)
argument_spec.update(element_spec)
- argument_spec.update(vyos_argument_spec)
mutually_exclusive = [("name", "aggregate")]
module = AnsibleModule(