Hi,
- name: Provision instance(s)
ec2:
key_name: "{{ key_name }}"
id: "{{ id }}"
group_id: "{{ result_sec_group.group_id }}"
image: "{{ image }}"
instance_type: t2.micro
region: "{{ region }}"
wait: true
count: 1
# exact_count: 2
# count_tag:
# Name: App
# instance_tags:
# Name: App
tags: ['never', 'create_ec2']
Will result in
Any suggestions Please how can i set this during creation & hence it will
get me Idempotence ... else my playbook create new EC2 each time
Thanks
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f9b3e0a1-9b0d-4ff8-bb9e-4042c971b658n%40googlegroups.com.