ctera / ctera.ctera / 2.2.17 / module / ctera_portal_directory_services CTERA Portal Active Directory configuration and management Authors: Saimon Michelson (@saimonation), Ygal Blum (@ygalblum) preview | supported by communityctera.ctera.ctera_portal_directory_services (2.2.17) — module
Install with ansible-galaxy collection install ctera.ctera:==2.2.17
collections: - name: ctera.ctera version: 2.2.17
Connect, configure and disconnect CTERA Portal from active directory
If you only need to change the username and or password, set force_connect to True
- name: Directory Services - Connected ctera_portal_directory_services: domain: ctera.local username: admin password: admin domain_controllers: - "192.168.0.50" - "192.168.0.51" ctera_host: "{{ ctera_portal_hostname }}" ctera_user: "{{ ctera_portal_user }}" ctera_password: "{{ ctera_portal_password }}" ctera_trust_certificate: True
- name: Directory Services - Disonnected ctera_portal_directory_services: state: disconnected ctera_host: "{{ ctera_portal_hostname }}" ctera_user: "{{ ctera_portal_user }}" ctera_password: "{{ ctera_portal_password }}" ctera_trust_certificate: True
ou: description: The OU path to use when connecting to the active directory services type: str krb: description: Connect to Active Directory over Kerberos type: bool ssl: description: Connect to Active Directory over SSL type: bool 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 tenant: description: - Name of the tenant. - For Global Admin operations set to "$admin" - Use default if not provided. - Do not set for initialization operations 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 force_reconnect: default: false description: Disconnect and connect even if connected to the domain type: bool domain_controllers: description: Configure a primary and a secondary domain controllers elements: str type: list