Ansible Create AMI and Copy AMI - Tagging Doesn't always work

Hello,

I’m trying to use Ansible to create an AMi out of an EC2 instance and tag it with NAME: AMI_NAME and then copy it over to another region and do the same thing (TAG it with NAME) to ultimately add it to a Launch Configuration for an ASG.
Common sense would indicate that doing and AMI find operation between those things (they’re running asynchronously as fire and forget) would return results but FIND keeps failing in both cases. I’m noticing that at random times each AMI gets its real AMI_NAME field populated by the NAME tag doesn’t, this creates a problem for FIND because I’m using tags to find them. I’ve discovered too that using the ami_name in the FIND function doesn’t return any results.

Luckily there are “hacky” ways around this by using the dictionary variables that are registered by the async module as a way to find the AMI ids but the fact that Tags don’t work at random and that you need to use tags in the find module worries me. I’m wondering if anyone else has experienced these things. The python code for find doesn’t seem to indicate tags are necessary but in my experience they do.