ctera.ctera.ctera_filer_directory_services (2.2.17) — module

CTERA-Networks Filer active directory 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

Connect, Disconnect and Reconnect a CTERA-Networks filer to active directory

If you only need to change the username and or password, set force_connect to True


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Directory Services - Connected
  ctera_filer_directory_services:
    domain: ctera.local
    username: admin
    password: admin
    ctera_host: "{{ ctera_filer_hostname }}"
    ctera_user: "{{ ctera_filer_user }}"
    ctera_password: "{{ ctera_filer_password }}"
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Directory Services - Disonnected
  ctera_filer_directory_services:
    state: disconnected
    ctera_host: "{{ ctera_filer_hostname }}"
    ctera_user: "{{ ctera_filer_user }}"
    ctera_password: "{{ ctera_filer_password }}"

Inputs

    
ou:
    description: The OU path to use when connecting to the active directory services
    type: str

state:
    choices:
    - connected
    - disconnected
    default: connected
    description: Whether the Edge Filer is connected to an Active Directory domain
    type: str

domain:
    description: Active Directory domain to connect to. Required if C(state) is connected
    type: str

password:
    description: Password of the user for communicating with the Active Directory Service.
      Required if C(state) is connected
    type: str

username:
    description: User Name to for communicating with the Active Directory Service. Required
      if C(state) is connected
    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

force_reconnect:
    default: false
    description: Disconnect and connect even if connected to the domain
    type: bool

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

Outputs

domain:
  description: Active Directory domain connected to
  returned: when state is connected, or when actualy disconnecting
  sample: ad.example.com
  type: str
ou:
  description: The OU path used when connecting to the active directory services
  returned: when state is connected
  sample: Domain Controllers
  type: str
username:
  description: User Name used to communicate with the Active Directory Service
  returned: when state is connected
  sample: admin
  type: str