ctera.ctera.ctera_filer_user (2.2.17) — module

CTERA-Networks Filer user configuration and management

Authors: Saimon Michelson (@saimonation), Ygal Blum (@ygalblum)

preview | supported by community

Install collection

Install with ansible-galaxy collection install ctera.ctera:==2.2.17


Add to requirements.yml

  collections:
    - name: ctera.ctera
      version: 2.2.17

Description

Create, modify and delete users.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: create local user
  ctera_filer_user:
    username: 'alice'
    email: 'walice@wonderland.com'
    full_name: 'Alice Wonderland'
    password: 'su@p3rsecret!!'
    ctera_host: "{{ ctera_filer_hostname }}"
    ctera_user: "{{ ctera_filer_user }}"
    ctera_password: "{{ ctera_filer_password }}"

Inputs

    
uid:
    description: ID for the user
    type: str

email:
    description: The e-mail address of the user
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Whether the specified user should exist or not.
    type: str

password:
    description:
    - The password of the user
    - Required when C(state=present) and the user does not exist
    - If the user exists, the new password will be set
    type: str

username:
    description: The name of the user
    required: true
    type: str

full_name:
    description: The full name of the user
    type: str

ctera_host:
    description: IP Address or FQDN of the CTERA Networks Host
    required: true
    type: str

ctera_port:
    description: Connection port to the Host
    type: int

ctera_user:
    description: User Name for communicating with the CTERA Networks Host
    required: true
    type: str

ctera_https:
    default: true
    description: Connect to the Host using HTTPS
    type: bool

ctera_password:
    description: Password of the user
    required: true
    type: str

ctera_trust_certificate:
    default: false
    description: Trust unverified certificates
    type: bool

Outputs

email:
  description: E-mail address of the user
  returned: when state is present
  sample: admin@example.com
  type: str
full_name:
  description: Full name of the user
  returned: when state is present
  sample: Administrator
  type: str
uid:
  description: ID of the user
  returned: when state is present
  sample: XXX
  type: str
username:
  description: User name of the user
  returned: when state is present
  sample: admin
  type: str