4 changed files with 27 additions and 1 deletions
@ -0,0 +1,6 @@ |
|||||
|
--- |
||||
|
|
||||
|
# TODO Steps : |
||||
|
# - register a client |
||||
|
# - use that client to authenticate (openid connect password flow) |
||||
|
# - use the REST APIs to administer RH-SSO |
||||
@ -0,0 +1,9 @@ |
|||||
|
--- |
||||
|
|
||||
|
- name: Wait for all pending deployments to become ready |
||||
|
command: 'oc get rc -o json -n "{{ sso_project }}"' |
||||
|
register: rc_state |
||||
|
changed_when: false |
||||
|
retries: "{{ sso_retries }}" |
||||
|
delay: "{{ sso_delay }}" |
||||
|
until: 'rc_state.stdout |from_json |json_query(''items[? status.replicas != `0` && (status.readyReplicas == ""|| status.readyReplicas == `0`) ].metadata.annotations."openshift.io/deployment-config.name"'') |intersect(pod_to_wait) |length == 0' |
||||
Loading…
Reference in new issue