diff options
Diffstat (limited to 'plugins/modules/vyos_user.py')
| -rw-r--r-- | plugins/modules/vyos_user.py | 20 | 
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( | 
