mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-11 11:41:32 -07:00
[do
* Add U() in front of URL * Add period at end of statement * Spell check Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
452a4ab781
commit
d76a84a6c8
37 changed files with 110 additions and 110 deletions
|
@ -48,11 +48,11 @@ mfa_devices:
|
|||
EXAMPLES = '''
|
||||
# Note: These examples do not set authentication details, see the AWS Guide for details.
|
||||
|
||||
# List MFA devices (more details: http://docs.aws.amazon.com/IAM/latest/APIReference/API_ListMFADevices.html)
|
||||
# List MFA devices (more details: https://docs.aws.amazon.com/IAM/latest/APIReference/API_ListMFADevices.html)
|
||||
- iam_mfa_device_facts:
|
||||
register: mfa_devices
|
||||
|
||||
# Assume an existing role (more details: http://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)
|
||||
# Assume an existing role (more details: https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html)
|
||||
- sts_assume_role:
|
||||
mfa_serial_number: "{{ mfa_devices.mfa_devices[0].serial_number }}"
|
||||
role_arn: "arn:aws:iam::123456789012:role/someRole"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue