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 - ipa_admin | mandatory
- ipaadmin_password | mandatory - ipaadmin_password | mandatory
- ipa_name | mandatory - ipa_name | mandatory
- ticket_id | mandatory
success_msg: "Required variables provided" success_msg: "Required variables provided"
fail_msg: "We are missing user information or ipa admin password" fail_msg: "We are missing user information or ipa admin password"
@ -47,7 +48,6 @@
- fasGitLabUsername - fasGitLabUsername
- fasIRCNick - fasIRCNick
- fasRHBZEmail - fasRHBZEmail
- fasStatusNote
- fasWebsiteURL - fasWebsiteURL
- fasgpgkeyid - fasgpgkeyid
- fasLocale - fasLocale
@ -63,6 +63,16 @@
- telephoneNumber - telephoneNumber
- homePhone - 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" - name: "Set FAS Account Information to Private"
community.general.ldap_attr: community.general.ldap_attr:
dn: "uid={{ ipa_name }},cn=users,cn=accounts,dc=rockylinux,dc=org" dn: "uid={{ ipa_name }},cn=users,cn=accounts,dc=rockylinux,dc=org"