forked from ansible/ansible-modules-extras
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple fixes (Details in the description) (ansible#35)
* Allow setting of load balancer listener IP This change depends on apache/libcloud#818 * Use RawConfigParser instead of SafeConfigParser This change keeps get_credentials() from returning false when DIDATA_PASSWORD is a strong password that contains the '%' symbol. Before this change, getting an entry with that symbol would cause a ConfigParser.InterpolationSyntaxError which would cause the function to return false. The Ansible user would then get a confusion "User credentials not found" error. Since we don't expect the user to employ any string interpolation in this file, we might as well do away with it. * Print out a more helpful message when invalid credentials are provided. Before this change, Ansible would only print out '' as an error message because libcloud's InvalidCredentialsError type did not have a message attribute. This works around that problem by explicitly writing out a more helpful message when the above exception is caught.
- Loading branch information
1 parent
e1575ae
commit e930358
Showing
3 changed files
with
23 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters