Skip to content

Commit

Permalink
Remove deprecated "facts" aliases (ansible-collections#814)
Browse files Browse the repository at this point in the history
Remove deprecated "facts" aliases

SUMMARY
Modules named "facts.py" that do not return ansible_facts were renamed to "info.py" in 2.9. Remove these aliases now that the deprecation period is over.
This PR should be included in 3.0.0 of the collection.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
*_facts.py

Reviewed-by: Mark Chappell <None>
Reviewed-by: Jill R <None>
Reviewed-by: None <None>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@68aaa70
  • Loading branch information
jillr authored and GomathiselviS committed Sep 21, 2022
1 parent 92a7545 commit e9794bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/modules/iam_user_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@
EXAMPLES = r'''
# Note: These examples do not set authentication details, see the AWS Guide for details.
# Gather facts about "test" user.
- name: Get IAM user facts
- name: Get IAM user info
community.aws.iam_user_info:
name: "test"
# Gather facts about all users in the "dev" group.
- name: Get IAM user facts
- name: Get IAM user info
community.aws.iam_user_info:
group: "dev"
# Gather facts about all users with "/division_abc/subdivision_xyz/" path.
- name: Get IAM user facts
- name: Get IAM user info
community.aws.iam_user_info:
path: "/division_abc/subdivision_xyz/"
'''
Expand Down

0 comments on commit e9794bb

Please sign in to comment.