ieisystem / ieisystem.inmanage / 1.1.1 / module / edit_ad Set active directory information | "added in version" 1.0.0 of ieisystem.inmanage" Authors: WangBaoshan (@ieisystem)ieisystem.inmanage.edit_ad (1.1.1) — module
Install with ansible-galaxy collection install ieisystem.inmanage:==1.1.1
collections: - name: ieisystem.inmanage version: 1.1.1
Set active directory information on ieisystem Server.
- name: Ad test hosts: inmanage connection: local gather_facts: no vars: inmanage: host: "{{ ansible_ssh_host }}" username: "{{ username }}" password: "{{ password }}" tasks: - name: "Set active directory information" ieisystem.inmanage.edit_ad: enable: "disable" provider: "{{ inmanage }}" - name: "Set active directory information" ieisystem.inmanage.edit_ad: enable: "enable" name: "test" code: "123456" timeout: 120 domain: "test.com" addr1: "100.2.2.2" addr2: "100.2.2.3" addr3: "100.2.2.4" provider: "{{ inmanage }}"
code: description: - Secret Password. Specify the Password of the administrator. type: str host: description: - Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport. type: str name: description: - Secret Username. Specify the Username of an administrator of the Active Directory Server. type: str addr1: description: - Domain Controller Server Address1. Enter the IP address of Active Directory server. type: str addr2: description: - Domain Controller Server Address2. Enter the IP address of Active Directory server. type: str addr3: description: - Domain Controller Server Address3. Enter the IP address of Active Directory server. type: str domain: description: - User Domain Name. Specify the Domain Name for the user for example MyDomain.com. type: str enable: choices: - enable - disable description: - Active Directory Authentication Status. type: str timeout: description: - The Time Out configuration(15-300). - Only the M5 model supports this parameter. type: int password: description: - Specifies the password to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable C(ANSIBLE_NET_PASSWORD) will be used instead. type: str provider: description: - A dict object containing connection details. suboptions: host: description: - Specifies the DNS host name or address for connecting to the remote device over the specified transport. The value of host is used as the destination address for the transport. type: str password: description: - Specifies the password to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable C(ANSIBLE_NET_PASSWORD) will be used instead. type: str username: description: - Configures the username to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable C(ANSIBLE_NET_USERNAME) will be used instead. type: str type: dict username: description: - Configures the username to use to authenticate the connection to the remote device. If the value is not specified in the task, the value of environment variable C(ANSIBLE_NET_USERNAME) will be used instead. type: str ssl_enable: choices: - enable - disable description: - Active Directory SSL Status. type: str
changed: description: Check to see if a change was made on the device. returned: always type: bool message: description: Messages returned after module execution. returned: always type: str state: description: Status after module execution. returned: always type: str