Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2040464

Summary: [RFE] Add module to manage automount keys
Product: Red Hat Enterprise Linux 8 Reporter: Rafael Jeffman <rjeffman>
Component: ansible-freeipaAssignee: Thomas Woerner <twoerner>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: mvarun
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ansible-freeipa-1.6.1-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2040702 (view as bug list) Environment:
Last Closed: 2022-05-10 13:38:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2040702    

Description Rafael Jeffman 2022-01-13 18:14:59 UTC
Description of problem:

Currently there is a module to manage automout locations, but no module to manage automount keys.

Comment 2 Rafael Jeffman 2022-01-13 18:22:25 UTC
Upstream PR: https://github.com/freeipa/ansible-freeipa/pull/498

The upstream PR have been merged.

Comment 6 Varun Mylaraiah 2022-02-07 09:56:05 UTC
Verified

ansible-freeipa-1.6.3-1.el8.noarch


2022-02-07T08:39:49 ansible_freeipa_tests/automount/test_automount.py::TestAutomountkey::test_automountkey_add PASSED [ 39%]
2022-02-07T08:39:55 ansible_freeipa_tests/automount/test_automount.py::TestAutomountkey::test_automountkey_add_to_inexistentmap PASSED [ 43%]
2022-02-07T08:39:59 ansible_freeipa_tests/automount/test_automount.py::TestAutomountkey::test_automountkey_add_to_inexistent_location PASSED [ 47%]
2022-02-07T08:40:09 ansible_freeipa_tests/automount/test_automount.py::TestAutomountkey::test_automountkey_add_without_info PASSED [ 52%]
2022-02-07T08:40:17 ansible_freeipa_tests/automount/test_automount.py::TestAutomountkey::test_automountkey_add_with_empty_info PASSED [ 56%]
2022-02-07T08:40:28 ansible_freeipa_tests/automount/test_automount.py::TestAutomountkey::test_automountkey_add_another_key PASSED [ 60%]
2022-02-07T08:40:39 ansible_freeipa_tests/automount/test_automount.py::TestAutomountkey::test_automountkey_delete PASSED [ 65%]
2022-02-07T08:40:47 ansible_freeipa_tests/automount/test_automount.py::TestAutomountkey::test_automountkey_delete_from_wrong_automountmap PASSED [ 69%]
2022-02-07T08:41:00 ansible_freeipa_tests/automount/test_automount.py::TestAutomountkey::test_automountkey_rename PASSED [ 73%]

Based on the test result, marking the bug Verified.

Comment 10 errata-xmlrpc 2022-05-10 13:38:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ansible-freeipa bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:1791