-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use the ec2 module to start/stop exisiting EC2 instance #222
Comments
@it-praktyk Thank you for posting. We would suggest perhaps trying to specify a longer wait time with |
I have the same issue when starting or stopping an instance using ec2 module. The task hangs until timeout. The instance state does not change in AWS web console. I'm using the same region as @it-praktyk Edit: a workaround is to use Edit 2: possibly related to #235. |
…ollections#237) Files transferred to instances via the SSM connection plugin should use folders within the bucket that are namespaced per-host, to prevent collisions. Files should also be deleted from buckets when they are no longer required. Fixes: ansible-collections#221 Fixes: ansible-collections#222 Based on work by abeluck changelog
SUMMARY
I'm not sure is it a request to explain/update documentation or the bug report.
I try to start/stop the existing EC2 instance using the
amazon.aws.ec2
module using the playbook like below.Because the
ansible-playbook
is run from the virtualenv I pass to it the value `-e 'ansible_python_interpreter=/home/<user_name>/Python-virtualenv/ansible-2.10.x/bin/python'When I run it I receive only
The
ansible-inventory -i inventory_config_aws_ec2.yml --list
, run from the same virtualenv, returns the host that I try to stop.ISSUE TYPE
COMPONENT NAME
amazon.aws.ec2
ANSIBLE VERSION
The text was updated successfully, but these errors were encountered: