-
Notifications
You must be signed in to change notification settings - Fork 341
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
ec2_instance -> app_callback -> set_password doesn't work #1449
Comments
Neglected to mention, this is for windows instances, with 'windows: true' also set under app_callback. |
@pluto00987 Thank you for raising this issue. Would you be willing to open a Pull Request with a fix? |
Nooooooo this has completely broken my Ansible playbooks to create Windows instances. Is there a workaround so that I can still automate creation of my Windows instances? |
Happy days. I manually changed the line in the file and now it's working. |
Pick up app_callback -> set_password rather than app_callback -> set_passwd SUMMARY Closes: #1449 Pick up app_callback -> set_password rather than app_callback -> set_passwd ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Mark Chappell
Pick up app_callback -> set_password rather than app_callback -> set_passwd SUMMARY Closes: ansible-collections#1449 Pick up app_callback -> set_password rather than app_callback -> set_passwd ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Mark Chappell
Pick up app_callback -> set_password rather than app_callback -> set_passwd SUMMARY Closes: ansible-collections#1449 Pick up app_callback -> set_password rather than app_callback -> set_passwd ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Mark Chappell
…r than app_callback -> set_passwd (#1482) [manual backport stable-5] Pick up app_callback -> set_password rather than app_callback -> set_passwd Pick up app_callback -> set_password rather than app_callback -> set_passwd SUMMARY Closes: #1449 Pick up app_callback -> set_password rather than app_callback -> set_passwd ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Mark Chappell SUMMARY ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Mark Chappell Reviewed-by: Jill R
Summary
Setting the 'set_password' option doesn't product the expected result.
Problem seems to be here
amazon.aws/plugins/modules/ec2_instance.py
Line 1236 in 8acb076
where it's passing 'set_passwd' when the actual variable name is 'set_password' set here
amazon.aws/plugins/modules/ec2_instance.py
Line 2046 in 8acb076
Seems to be a typo included in #1199 as it worked prior to that.
Issue Type
Bug Report
Component Name
ec2_instance
Ansible Version
$ ansible --version
Collection Versions
version 5.4.0
Also present in main branch
AWS SDK versions
$ pip show boto boto3 botocore
Configuration
$ ansible-config dump --only-changed
OS / Environment
No response
Steps to Reproduce
Expected Results
A line should be present in user_data for the new instance, which sets the local admin password
Actual Results
It's not there
Code of Conduct
The text was updated successfully, but these errors were encountered: