summaryrefslogtreecommitdiffstats
path: root/roles/openshift_aws/tasks/seal_ami.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-12-12 09:15:52 -0500
committerGitHub <noreply@github.com>2017-12-12 09:15:52 -0500
commit01ae634a0bf89fe840006f9139f8ffd20e09afc8 (patch)
treed53a7c03e4855885e124559018fff32adeaaf4ea /roles/openshift_aws/tasks/seal_ami.yml
parent0b6fa3dcd40c2dd1f42fcceb52f82c2a28ed96e2 (diff)
parent35c1abb6050f2cd1f31396edd42618a2998bd546 (diff)
downloadopenshift-01ae634a0bf89fe840006f9139f8ffd20e09afc8.tar.gz
openshift-01ae634a0bf89fe840006f9139f8ffd20e09afc8.tar.bz2
openshift-01ae634a0bf89fe840006f9139f8ffd20e09afc8.tar.xz
openshift-01ae634a0bf89fe840006f9139f8ffd20e09afc8.zip
Merge pull request #6335 from kwoodson/node_groups_refactor
Node group management update.
Diffstat (limited to 'roles/openshift_aws/tasks/seal_ami.yml')
-rw-r--r--roles/openshift_aws/tasks/seal_ami.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/roles/openshift_aws/tasks/seal_ami.yml b/roles/openshift_aws/tasks/seal_ami.yml
index 7a3d0fb68..74877d5c7 100644
--- a/roles/openshift_aws/tasks/seal_ami.yml
+++ b/roles/openshift_aws/tasks/seal_ami.yml
@@ -1,6 +1,6 @@
---
- name: fetch newly created instances
- ec2_remote_facts:
+ ec2_instance_facts:
region: "{{ openshift_aws_region }}"
filters:
"tag:Name": "{{ openshift_aws_base_ami_name }}"
@@ -12,7 +12,7 @@
- name: bundle ami
ec2_ami:
- instance_id: "{{ instancesout.instances.0.id }}"
+ instance_id: "{{ instancesout.instances.0.instance_id }}"
region: "{{ openshift_aws_region }}"
state: present
description: "This was provisioned {{ ansible_date_time.iso8601 }}"
@@ -46,4 +46,4 @@
ec2:
state: absent
region: "{{ openshift_aws_region }}"
- instance_ids: "{{ instancesout.instances.0.id }}"
+ instance_ids: "{{ instancesout.instances.0.instance_id }}"