cisco.ise.active_directory – Resource module for Active Directory¶
Note
This plugin is part of the cisco.ise collection (version 0.0.9).
To install it use: ansible-galaxy collection install cisco.ise
.
To use it in a playbook, specify: cisco.ise.active_directory
.
New in version 1.0.0: of cisco.ise
Synopsis¶
Manage operations create and delete of the resource Active Directory.
Note
This module has a corresponding action plugin.
Parameters¶
See Also¶
See also
- cisco.ise.plugins.module_utils.definitions.active_directory
The official documentation on the cisco.ise.plugins.module_utils.definitions.active_directory module.
- Active Directory reference
Complete reference of the Active Directory object model.
Examples¶
- name: Create
cisco.ise.active_directory:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: present
adAttributes:
attributes:
- defaultValue: defaultString
internalName: internalName1
name: name1
type: STRING
adScopesNames: Default_Scope
adgroups:
groups:
- name: cisco.com/operators
sid: S-1-5-32-548
type: GLOBAL
advancedSettings:
agingTime: 5
country: co
department: department
email: mail
enableCallbackForDialinClient: false
enableDialinPermissionCheck: false
enableMachineAccess: true
enableMachineAuth: true
enablePassChange: true
enableRewrites: false
firstName: givenName
identityNotInAdBehaviour: SEARCH_JOINED_FOREST
jobTitle: title
lastName: sn
locality: l
organizationalUnit: company
plaintextAuth: false
rewriteRules:
- rewriteMatch: host/[HOSTNAME].[DOMAIN]
rewriteResult: host/[HOSTNAME].[DOMAIN]
rowId: 0
- rewriteMatch: host/[HOSTNAME]
rewriteResult: host/[HOSTNAME]
rowId: 1
- rewriteMatch: '[DOMAIN]\[IDENTITY]'
rewriteResult: '[DOMAIN]\[IDENTITY]'
rowId: 2
- rewriteMatch: '[IDENTITY]@[DOMAIN]'
rewriteResult: '[IDENTITY]@[DOMAIN]'
rowId: 3
- rewriteMatch: '[IDENTITY]'
rewriteResult: '[IDENTITY]'
rowId: 4
schema: ACTIVE_DIRECTORY
stateOrProvince: st
streetAddress: streetAddress
telephone: telephoneNumber
unreachableDomainsBehaviour: PROCEED
description: ''
domain: cisco.com
name: cisco.com
- name: Delete by id
cisco.ise.active_directory:
ise_hostname: "{{ise_hostname}}"
ise_username: "{{ise_username}}"
ise_password: "{{ise_password}}"
ise_verify: "{{ise_verify}}"
state: absent
id: string
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
ise_response
dictionary
|
always |
A dictionary or list with the response returned by the Cisco ISE Python SDK
Sample:
{}
|
Authors¶
Rafael Campos (@racampos)