diff --git a/README-cert.md b/README-cert.md index ad2ee75c197fb840e775aaacfaf61833b98c2840..14db56eb313d2f915533d385da32f12cb003b472 100644 --- a/README-cert.md +++ b/README-cert.md @@ -77,6 +77,23 @@ Example playbook to revoke an existing certificate: ipacert: ipaadmin_password: SomeADMINpassword serial_number: 123456789 + reason: 5 + state: revoked +``` + +When revoking a certificate a mnemonic can also be used to set the revocation reason: + +```yaml +--- +- name: Revoke certificate + hosts: ipaserver + + tasks: + - name Revoke a certificate + ipacert: + ipaadmin_password: SomeADMINpassword + serial_number: 123456789 + reason: cessationOfOperation state: revoked ```