Fix the fedora host detection

This commit is contained in:
Toshio Kuratomi 2015-12-18 15:42:41 -08:00 committed by James Cammarata
parent bb1047c483
commit 61bd0e1310

View file

@ -28,8 +28,6 @@
- name: Wait a little longer for centos - name: Wait a little longer for centos
pause: seconds=20 pause: seconds=20
- debug: var=ec2.results
- name: Add hosts group temporary inventory group with pem path - name: Add hosts group temporary inventory group with pem path
add_host: add_host:
name: "{{ item.1.platform }}-{{ ec2.results[item.0]['instances'][0]['public_ip'] }}" name: "{{ item.1.platform }}-{{ ec2.results[item.0]['instances'][0]['public_ip'] }}"