summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2018-02-13 13:51:17 -0500
committerAndrew Butcher <abutcher@redhat.com>2018-02-13 14:16:34 -0500
commit8faf061f0656b8816af4efe1015c1a9ed0d34c36 (patch)
tree8cea184aae58670dab53e825a6c14512c3216602 /roles/openshift_aws
parentf1263cb5edbe409fd044a37a395cc5b49e48dfeb (diff)
downloadopenshift-8faf061f0656b8816af4efe1015c1a9ed0d34c36.tar.gz
openshift-8faf061f0656b8816af4efe1015c1a9ed0d34c36.tar.bz2
openshift-8faf061f0656b8816af4efe1015c1a9ed0d34c36.tar.xz
openshift-8faf061f0656b8816af4efe1015c1a9ed0d34c36.zip
oc_adm_csr: Add fail_on_timeout parameter which causes module to fail when timeout was reached.
Diffstat (limited to 'roles/openshift_aws')
-rw-r--r--roles/openshift_aws/tasks/accept_nodes.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_aws/tasks/accept_nodes.yml b/roles/openshift_aws/tasks/accept_nodes.yml
index db30fe5c9..cc0cdcb0b 100644
--- a/roles/openshift_aws/tasks/accept_nodes.yml
+++ b/roles/openshift_aws/tasks/accept_nodes.yml
@@ -37,5 +37,6 @@
#approve_all: True
nodes: "{{ instancesout.instances|map(attribute='private_dns_name') | list }}"
timeout: 60
+ fail_on_timeout: "{{ openshift_aws_node_accept_fail_on_timeout | default(false) | bool }}"
register: nodeout
delegate_to: "{{ groups.masters.0 }}"