Skip to content

Commit

Permalink
Adding playbook to renew/update RH SSO cert (#580)
Browse files Browse the repository at this point in the history
* Adding functionality to renew/update RH SSO cert

* Adding functionality to renew/update RH SSO cert
  • Loading branch information
oybed authored Feb 3, 2021
1 parent 7135387 commit 84f7eaf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions playbooks/provision-rh-sso/update-rh-sso-cert.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---

- hosts: rh-sso-hosts
tasks:
- import_role:
name: config-rh-sso
tasks_from: setup-rh-sso-ssl.yml

5 changes: 5 additions & 0 deletions roles/config-rh-sso/tasks/setup-rh-sso-ssl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,8 @@
- process_undertowrealm.rc == 1
- "'WFLYCTL0212' not in process_undertowrealm.stdout"

- name: 'Restart Red Hat SSO service to apply changes'
service:
name: rh-sso7
state: restarted

0 comments on commit 84f7eaf

Please sign in to comment.