-
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
ansible.builtin.file diff could not be disabled #80817
Comments
Files identified in the description: If these files are incorrect, please update the |
From the docs in the file module:
The file module always returns those differences and does not respect diff mode setting, hence the 'partial' support. |
but implementing the feature should not be too hard
|
I'd also like to see this implemented/fixed (is the patch above sufficient?), as the The only alternative currently available to prevent this, is to set |
…e excessively verbose diffs when using diff mode - no_log: yes hides actual error messages while diff: no does not - diff: no does not work to silence large diffs from the file module yet (ansible/ansible#80817)
…e excessively verbose diffs when using diff mode - no_log: yes hides actual error messages while diff: no does not - diff: no does not work to silence large diffs from the file module yet (ansible/ansible#80817)
…e excessively verbose diffs when using diff mode - no_log: yes hides actual error messages while diff: no does not - diff: no does not work to silence large diffs from the file module yet (ansible/ansible#80817)
…e excessively verbose diffs when using diff mode - no_log: yes hides actual error messages while diff: no does not - diff: no does not work to silence large diffs from the file module yet (ansible/ansible#80817)
Summary
I'm trying to desactivate diff in ansible.builtin.file task like below while using the diff_mode (ansible-playbook playbook.yml --diff) :
The option "diff: false" seams not beeing implemented in file module.
The output is :
It should be :
Issue Type
Feature Idea
Component Name
ansible.builtin.file
Additional Information
Code of Conduct
The text was updated successfully, but these errors were encountered: