mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 11:54:47 +00:00
Merge pull request #1133 from rjeffman/testday_1
ipacert: Fix revocation example playbook on README
This commit is contained in:
@@ -77,6 +77,23 @@ Example playbook to revoke an existing certificate:
|
|||||||
ipacert:
|
ipacert:
|
||||||
ipaadmin_password: SomeADMINpassword
|
ipaadmin_password: SomeADMINpassword
|
||||||
serial_number: 123456789
|
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
|
state: revoked
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user