radware.radware_modules.alteon_config_system_local_user (0.6.12) — module

Manage local users in Radware Alteon

| "added in version" 2.9 of radware.radware_modules"

Authors: Leon Meguira (@leonmeguira), Nati Fridman (@natifridman)

stableinterface | supported by certified

Install collection

Install with ansible-galaxy collection install radware.radware_modules:==0.6.12


Add to requirements.yml

  collections:
    - name: radware.radware_modules
      version: 0.6.12

Description

Manage local users in Radware Alteon.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: alteon configuration command
  radware.radware_modules.alteon_config_system_local_user:
    provider: 
      server: 192.168.1.1
      user: admin
      password: admin
      validate_certs: no
      https_port: 443
      ssh_port: 22
      timeout: 5
    state: present
    parameters:
      index: 7
      user_name: nati
      state: enabled
      admin_password: admin
      user_password: radware
      radius_tacacs_fallback: enabled
      ssh_key: ssh-rsa AAAAB3NzaC1yc2EA...

Inputs

    
state:
    choices:
    - present
    - absent
    - read
    - overwrite
    - append
    default: null
    description:
    - When C(present), guarantees that the object exists with the provided attributes.
    - When C(absent), when applicable removes the object.
    - When C(read), when exists read object from configuration to parameter format.
    - When C(overwrite), removes the object if exists then recreate it
    - When C(append), append object configuration with the provided parameters
    required: true

provider:
    description:
    - Radware Alteon connection details.
    required: true
    suboptions:
      https_port:
        default: null
        description:
        - Radware Alteon https port.
        required: true
      password:
        default: null
        description:
        - Radware Alteon password.
        required: true
      server:
        default: null
        description:
        - Radware Alteon IP address.
        required: true
      ssh_port:
        default: null
        description:
        - Radware Alteon ssh port.
        required: true
      timeout:
        default: null
        description:
        - Timeout for connection.
        required: true
      user:
        default: null
        description:
        - Radware Alteon username.
        required: true
      validate_certs:
        default: null
        description:
        - If C(no), SSL certificates will not be validated.
        - This should only set to C(no) used on personally controlled sites using self-signed
          certificates.
        required: true
        type: bool

parameters:
    description:
    - Parameters local users configuration.
    suboptions:
      admin_password:
        default: null
        description:
        - The character string representing the current administrator password.
        required: false
        type: str
      certificate_management:
        choices:
        - enabled
        - disabled
        default: disabled
        description:
        - Enable/disable certificate management permissions.
        required: false
      index:
        default: null
        description:
        - The user identifier.
        required: true
        type: int
      language_display:
        choices:
        - english
        - chinese
        - korean
        - japanese
        default: english
        description:
        - Sets the Alteon Web Based Management (WBM) interface language for a local user.
        required: false
      radius_tacacs_fallback:
        choices:
        - enabled
        - disabled
        default: null
        description:
        - Specifies whether to enable back-door administrator access.
        - When back-door administrator access is enabled, the user can log in to Telnet/SSH/Web
          UI using administrator credentials when the TACACS+ server is down.
        required: false
      ssh_key:
        default: null
        description:
        - user open-ssh txt public key or SSH2 public key.
        required: false
        type: str
      state:
        choices:
        - enabled
        - disabled
        default: disabled
        description:
        - Specifies whether to enable the user.
        required: false
      user_name:
        default: null
        description:
        - The username for the local user.
        required: false
        type: str
      user_password:
        default: null
        description:
        - The character string representing the user password.
        required: false
        type: str
      user_role:
        choices:
        - user
        - crtadmin
        - slboper
        - l4oper
        - oper
        - slbadmin
        - l4admin
        - admin
        - slbview
        - l3oper
        - l3admin
        - l1oper
        - l2oper
        - wsadmin
        - wsowner
        - wsview
        default: user
        description:
        - The user class of service.
        required: false

revert_on_error:
    default: false
    description:
    - If an error occurs, perform revert on alteon.
    required: false
    type: bool

write_on_change:
    default: false
    description:
    - Executes Alteon write calls only when an actual change has been evaluated.
    required: false
    type: bool

Outputs

obj:
  description: parameters object type
  returned: changed, read
  type: dictionary
status:
  description: Message detailing run result
  returned: success
  sample: object deployed successfully
  type: str