ee91714eb2
* AWS: new module iam_user_info Signed-off-by: psharkey <psharkey@cleo.com> Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> Rename from iam_user_facts to iam_user_info. Rename and target 2.10. Fixing docs. * Adding iam_user_info integration test. Removing unnecessary tasks. Fixing yamllint failure test/integration/targets/iam_user_info/defaults/main.yml:5:1: empty-lines: too many blank lines (1 > 0). * name paramter is optional * Switch to use AnsibleAWSModule. * Convert to using fail_json_aws * Rework asserts to inspect ARN. * Move integration tests from iam_user_info to iam_user. * Fix pep8 problems. * ec2_argument_spec not needed with AnsibleAWSModule. * Switch to use helper in AnsibleAWSModule. * Add iam_user_info to the aws group. * Add support for pagination and backoff. * Check improper parameter usage first. * Adding test cases for multiple users. * Rmoving unneeded line. * Remove unneeded imports. * Switch to catch BotoCoreError. * Adding tests for exception coverage. * Compare user info directly with values from created user.
7 lines
177 B
YAML
7 lines
177 B
YAML
---
|
|
test_group: '{{ resource_prefix }}-group'
|
|
test_path: '/'
|
|
test_user: '{{ test_users[0] }}'
|
|
test_users:
|
|
- '{{ resource_prefix }}-user-a'
|
|
- '{{ resource_prefix }}-user-b'
|