Skip to content

Commit

Permalink
Reabse (#1468)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
alinabuzachis authored Apr 26, 2023
1 parent 2176fb4 commit f399fb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/20230424-ec2_instance-app_callback.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- ec2_instance - Pick up ``app_callback -> set_password`` rather than ``app_callback -> set_passwd`` (https://github.com/ansible-collections/amazon.aws/issues/1449).
2 changes: 1 addition & 1 deletion plugins/modules/ec2_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ def build_userdata(params):
job_template_id=params.get("aap_callback").get("job_template_id"),
host_config_key=params.get("aap_callback").get("host_config_key"),
windows=params.get("aap_callback").get("windows"),
passwd=params.get("aap_callback").get("set_passwd"),
passwd=params.get("aap_callback").get("set_password"),
)
return {"UserData": userdata}
return {}
Expand Down

0 comments on commit f399fb7

Please sign in to comment.