blob: f0a523878b3a0e52684fba5ac0ba7aa0528c03bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
- name: ldap test
hosts: ism
connection: local
gather_facts: no
vars:
ism:
host: "{{ ansible_ssh_host }}"
username: "{{ username }}"
password: "{{ password }}"
tasks:
- name: "set ldap information"
inspur.sm.edit_ldap:
enable: "disable"
provider: "{{ ism }}"
- name: "set ldap information"
inspur.sm.edit_ldap:
enable: "enable"
encry: "SSL"
address: "100.2.2.2"
server_port: 389
dn: "cn=manager,ou=login,dc=domain,dc=com"
code: "123456"
base: "cn=manager"
attr: "uid"
provider: "{{ ism }}"
|