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
aws lightsail does not support wait: yes on create #63869
Comments
Files identified in the description: If these files are inaccurate, please update the |
@jillr, just so you are aware we have a dedicated Working Group for aws. |
The |
The |
Yeah it will need to be done via a while loop like: https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/amazon/lightsail.py#L317:L328 |
- Use AnsibleAWSModule - Refactor the logic for wait into a separate function (Fixes ansible#63869) - Handle exceptions in find_instance_info and add a fail_if_not_found parameter - Add a new state `rebooted` as an alias for `restarted`. AWS calls the action Reboot. - Add required_if clause for when state is present
- Use AnsibleAWSModule - Refactor the logic for wait into a separate function (Fixes ansible#63869) - Handle exceptions in find_instance_info and add a fail_if_not_found parameter - Add a new state `rebooted` as an alias for `restarted`. AWS calls the action Reboot. - Add required_if clause for when state is present
* lightsail - Use AnsibleAWSModule - Use AnsibleAWSModule - Refactor the logic for wait into a separate function (Fixes #63869) - Handle exceptions in find_instance_info and add a fail_if_not_found parameter - Add a new state `rebooted` as an alias for `restarted`. AWS calls the action Reboot. - Add required_if clause for when state is present * lightsail - Use the default keypair if one is not provided * lightsail - add a required_if for when state=present * Update short description for lightsail module
* lightsail - Use AnsibleAWSModule - Use AnsibleAWSModule - Refactor the logic for wait into a separate function (Fixes ansible#63869) - Handle exceptions in find_instance_info and add a fail_if_not_found parameter - Add a new state `rebooted` as an alias for `restarted`. AWS calls the action Reboot. - Add required_if clause for when state is present * lightsail - Use the default keypair if one is not provided * lightsail - add a required_if for when state=present * Update short description for lightsail module
* lightsail - Use AnsibleAWSModule - Use AnsibleAWSModule - Refactor the logic for wait into a separate function (Fixes ansible#63869) - Handle exceptions in find_instance_info and add a fail_if_not_found parameter - Add a new state `rebooted` as an alias for `restarted`. AWS calls the action Reboot. - Add required_if clause for when state is present * lightsail - Use the default keypair if one is not provided * lightsail - add a required_if for when state=present * Update short description for lightsail module
* lightsail - Use AnsibleAWSModule - Use AnsibleAWSModule - Refactor the logic for wait into a separate function (Fixes ansible#63869) - Handle exceptions in find_instance_info and add a fail_if_not_found parameter - Add a new state `rebooted` as an alias for `restarted`. AWS calls the action Reboot. - Add required_if clause for when state is present * lightsail - Use the default keypair if one is not provided * lightsail - add a required_if for when state=present * Update short description for lightsail module
SUMMARY
In #63770 it was found that the
wait
specified in the module docs does not apply to create operations. Wait functions are only defined fordelete_instance
,restart_instance
, andstartstop_instance
.ISSUE TYPE
COMPONENT NAME
lightsail
ANSIBLE VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
STEPS TO REPRODUCE
EXPECTED RESULTS
test pass
ACTUAL RESULTS
assertion failed
The text was updated successfully, but these errors were encountered: