-
Notifications
You must be signed in to change notification settings - Fork 24k
Avoids removing / #80034
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
base: devel
Are you sure you want to change the base?
Avoids removing / #80034
Conversation
Looks like this needs a changelog fragment, an integration test and probably a toggle like |
bikeshedding: a |
@ebastos locate the arg spec in the module and declare a new argument as Brian suggested. Then, make use of that argument in your if-clause. You'll probably need to pass some args around, down the call stack. |
@ebastos is the above request something you still interested in working on? If you need help for specific things we can certainly guide you along the way. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This PR branch needs a rebase. |
SUMMARY
This change will make Ansible refuse to delete "/"
ISSUE TYPE
COMPONENT NAME
lib/ansible/modules/file.py
ADDITIONAL INFORMATION
According to #18943