Open tremble opened 1 year ago
Files identified in the description: None
If these files are inaccurate, please update the component name
section of the description or use the !component
bot command.
@tremble: Greetings! Thanks for taking the time to open this issue. In order for the community to handle your issue effectively, we need a bit more information.
Here are the items we could not find in your description:
Please set the description of this issue with this template: https://raw.githubusercontent.com/ansible/ansible/devel/.github/ISSUE_TEMPLATE/bug_report.md
It took me days to find out this.
In my case I ran into this error when trying to use the module in AWX. The error it reported was:
fatal: [my_server -> localhost]: FAILED! => {
"msg": "privilege output closed while waiting for password prompt:\n/bin/sh: line 1: sudo: command not found\n"
}
once I added become: false
it worked.
Thanks!
It's less common than it used to be, however it looks like folks are still periodically having issues when they try to pull credentials from the credentials file. We now mention the Host vs Controller gotcha in the Notes section of all modules, but we should probably also mention the "become" gotcha (see below). I think it's worth tweaking the Note a little further, but I'm also thinking it might be worth tweaking the the README and the AWS Guide...
Originally posted by @danielmanser in https://github.com/ansible-collections/community.aws/issues/708#issuecomment-917458977