When running this ec2 module task without the 'build_number' variable, the
EC2 machine is created with a build tag of '
__omit_place_holder__6248a11ef81332080f31b81d2894e811f905b723' instead of
being empty as expected.
Is the formatting wrong or is there a bug here?:
- name: provision an instance
ec2:
ec2_access_key: "{{ ec2_access_key }}"
aws_secret_key: "{{ ec2_secret_key }}"
region: "{{ region }}"
key_name: "{{ key }}"
group: "{{ security_group_name }}"
instance_type: "{{instance_type }}"
monitoring: yes
image: "{{ instance_store_ami_data.ami }}"
vpc_subnet_id: "{{ subnet_euw1c }}"
assign_public_ip: yes
wait: true
exact_count: 1
count_tag:
role: sid
env: "{{ environment_name }}"
build: "{{ build_number | default(omit) }}"
instance_tags:
role: sid
env: "{{ environment_name }}"
build: "{{ build_number | default(omit) }}"
status: new
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/1f8eeb0d-03db-4c34-b9f3-48a88124c400%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.