File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 99 retries : 20
1010 delay : 45
1111 changed_when : false
12- failed_when : " 'stdout_lines' not in vault_auth_json"
12+ failed_when : " 'stdout_lines' not in vault_auth_json or vault_auth_json.stdout_lines | length == 0 "
1313
1414- name : Set vault auth output json fact
1515 ansible.builtin.set_fact :
7979 bash -e -c
8080 "echo -n | openssl s_client -connect {{ oidc_discovery_host }}:{{ oidc_discovery_port }} -servername {{ oidc_discovery_host }}
8181 | openssl x509 -outform PEM > /tmp/oidc-discovery-certificate.pem"
82+ retries : 10
83+ delay : 30
8284 when : not vault_auth_jwt or
8385 not jwt_discovery or
8486 not jwt_config_oidc_discovery_url == oidc_discovery_url or
9395 oidc_discovery_url={{ oidc_discovery_url }}
9496 default_role={{ default_role | default('default') }}
9597 oidc_discovery_ca_pem=@/tmp/oidc-discovery-certificate.pem
98+ retries : 10
99+ delay : 30
96100 when : not vault_auth_jwt or
97101 not jwt_discovery or
98102 not jwt_config_oidc_discovery_url == oidc_discovery_url or
You can’t perform that action at this time.
0 commit comments