-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
check if there attributes to set #78707
Conversation
Just encountered a similar issue and the PR seems potentially could work in my case. I'm trying to edit the
And get the exception:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tried the fix on ansible [core 2.14.3]
— seems working for me! 👍
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
The branch is too old for the CI to pick it up. This needs a rebase. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Add fix for issue 76727: check if there attributes to set before attempting to set them
SUMMARY
When there are no attributes to be set, the command 'chattr' will fail with 'Operation not supported' when setting the attributes of the backupfile.
Fixes #76727
ISSUE TYPE
COMPONENT NAME
lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py
ADDITIONAL INFORMATION