I succeeded in creating an EC2 instance by using the ansible.playbook action.
I wanted to create a workflow to pass EC2 instances created with this playbook to new actions.
However, after ansible execution ends, it is not linked to the next task.

So that’s it.
Is the output from Ansible the standard output?
For example, if the output is as follows:` {"HOSTS": {"NAME", "ABC"} } `
In the next action,
Is it possible to obtain it by specifying it like HOSTS.NAME?

I tried to set MinCount and MaxCount to 1 instead.
This time, the error is

botocore.exceptions.ClientError: An error occurred (AuthFailure) when calling the RunInstances operation: AWS was not able to validate the provided access credentials

It seems to be a problem with permissions, but with aws cli you can create an instance without problems, and access key and secret key are also set in /opt/stackstorm/config/aws.yaml. What is the cause?