Re: [ansible-project] Idempotency in amazon..aws.ec2

2021-05-06 Thread Dave York
That... makes sense. I should have ctrl-f 'idempotency' on the module documentation. I'll give it a try, thanks for the help! On Wednesday, May 5, 2021 at 11:49:18 PM UTC-7 dick@geant.org wrote: > You should supply an 'id' parameter: > > >

Re: [ansible-project] Idempotency in amazon..aws.ec2

2021-05-06 Thread Dick Visser
You should supply an 'id' parameter: https://docs.ansible.com/ansible/latest/collections/amazon/aws/ec2_module.html#parameter-id On Thu, 6 May 2021 at 00:22, Dave York wrote: > Hi ansible squad! > > I've been using amazon.aws.ec2 (or community.aws.ec2_instance - ive been > switching back and

[ansible-project] Idempotency in amazon..aws.ec2

2021-05-05 Thread Dave York
Hi ansible squad! I've been using amazon.aws.ec2 (or community.aws.ec2_instance - ive been switching back and forth) to ensure there is an ec2 instance created for each {{ inventory_hostname }} by using tags. It doesn't seem to work. Every time I run the playbook with the below play, it