summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/tasks/elb.yml
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-09-29 09:21:36 -0400
committerMichael Gugino <mgugino@redhat.com>2017-09-29 09:23:00 -0400
commited12dd75d2882eda00d3c06d2d41af63c35e53b4 (patch)
tree81d6d3517a5bd139ca6da006178e71dc97c702eb /roles/openshift_aws/tasks/elb.yml
parent9920ea81d7f036432553921b708cf8c49ac6ea62 (diff)
downloadopenshift-ed12dd75d2882eda00d3c06d2d41af63c35e53b4.tar.gz
openshift-ed12dd75d2882eda00d3c06d2d41af63c35e53b4.tar.bz2
openshift-ed12dd75d2882eda00d3c06d2d41af63c35e53b4.tar.xz
openshift-ed12dd75d2882eda00d3c06d2d41af63c35e53b4.zip
Fix some provisioning variables
This commit fixes some provisioning variables. It also adjusts a failure condition for an ec2 call, which may fail silently without having the necessary permissions, which creates an unrelated error message later in the run.
Diffstat (limited to 'roles/openshift_aws/tasks/elb.yml')
-rw-r--r--roles/openshift_aws/tasks/elb.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_aws/tasks/elb.yml b/roles/openshift_aws/tasks/elb.yml
index a1fdd66fc..7bc3184df 100644
--- a/roles/openshift_aws/tasks/elb.yml
+++ b/roles/openshift_aws/tasks/elb.yml
@@ -29,9 +29,9 @@
if 'master' in openshift_aws_node_group_type or 'infra' in openshift_aws_node_group_type
else openshift_aws_elb_listeners }}"
-- name: "Create ELB {{ openshift_aws_elb_name }}"
+- name: "Create ELB {{ l_openshift_aws_elb_name }}"
ec2_elb_lb:
- name: "{{ openshift_aws_elb_name }}"
+ name: "{{ l_openshift_aws_elb_name }}"
state: present
security_group_names: "{{ openshift_aws_elb_security_groups }}"
idle_timeout: "{{ openshift_aws_elb_idle_timout }}"
@@ -49,10 +49,10 @@
# It is necessary to ignore_errors here because the instances are not in 'ready'
# state when first added to ELB
-- name: "Add instances to ELB {{ openshift_aws_elb_name }}"
+- name: "Add instances to ELB {{ l_openshift_aws_elb_name }}"
ec2_elb:
instance_id: "{{ item.id }}"
- ec2_elbs: "{{ openshift_aws_elb_name }}"
+ ec2_elbs: "{{ l_openshift_aws_elb_name }}"
state: present
region: "{{ openshift_aws_region }}"
wait: False