update PDR

This commit is contained in:
nazunalika 2021-04-04 23:45:24 -07:00
parent f05ade9fe4
commit 46fa4fab25
Signed by: label
GPG Key ID: CB6D9706D138D190

View File

@ -20,6 +20,7 @@
- ipa_admin | mandatory
- ipaadmin_password | mandatory
- ipa_name | mandatory
- ticket_id | mandatory
success_msg: "Required variables provided"
fail_msg: "We are missing user information or ipa admin password"
@ -47,7 +48,6 @@
- fasGitLabUsername
- fasIRCNick
- fasRHBZEmail
- fasStatusNote
- fasWebsiteURL
- fasgpgkeyid
- fasLocale
@ -63,6 +63,16 @@
- telephoneNumber
- homePhone
- name: "Set FAS Status Note"
community.general.ldap_attr:
dn: "uid={{ ipa_name }},cn=users,cn=accounts,dc=rockylinux,dc=org"
name: "fasStatusNote"
values: "Account Disabled: {{ ticket_id }}"
state: exact
server_uri: ldap://localhost/
bind_dn: "uid={{ ipa_admin }},cn=users,cn=accounts,dc=rockylinux,dc=org"
bind_pw: "{{ ipaadmin_password }}"
- name: "Set FAS Account Information to Private"
community.general.ldap_attr:
dn: "uid={{ ipa_name }},cn=users,cn=accounts,dc=rockylinux,dc=org"