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
Assemble module doesn't pass content
arg to _get_diff_data
#82359
Labels
affects_2.16
bug
This issue/PR relates to a bug.
has_pr
This issue has an associated PR.
module
This issue/PR relates to a module.
Comments
ansibot
added
bug
This issue/PR relates to a bug.
needs_triage
Needs a first human triage before being processed.
affects_2.16
module
This issue/PR relates to a module.
labels
Dec 5, 2023
Files identified in the description: If these files are incorrect, please update the |
Akasurde
added a commit
to Akasurde/ansible
that referenced
this issue
Dec 5, 2023
* content is an optional parameter for _get_diff_data API Fixes: ansible#82359 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Akasurde
added a commit
to Akasurde/ansible
that referenced
this issue
Dec 7, 2023
* content is an optional parameter for _get_diff_data API Fixes: ansible#82359 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Akasurde
added a commit
to Akasurde/ansible
that referenced
this issue
Dec 7, 2023
* content is an optional parameter for _get_diff_data API Fixes: ansible#82359 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Akasurde
added a commit
to Akasurde/ansible
that referenced
this issue
Dec 7, 2023
* content is an optional parameter for _get_diff_data API Fixes: ansible#82359 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Akasurde
added a commit
to Akasurde/ansible
that referenced
this issue
Dec 7, 2023
* content is an optional parameter for _get_diff_data API Fixes: ansible#82359 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
bcoca
removed
the
needs_triage
Needs a first human triage before being processed.
label
Dec 12, 2023
bcoca
pushed a commit
that referenced
this issue
Dec 12, 2023
* content is an optional parameter for _get_diff_data API Fixes: #82359 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Akasurde
added a commit
to Akasurde/ansible
that referenced
this issue
Apr 23, 2024
* content is an optional parameter for _get_diff_data API Fixes: ansible#82359 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
mattclay
pushed a commit
that referenced
this issue
May 9, 2024
* content is an optional parameter for _get_diff_data API Fixes: #82359 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.16
bug
This issue/PR relates to a bug.
has_pr
This issue has an associated PR.
module
This issue/PR relates to a module.
Summary
When using the
ansible.builtin.assemble
module with--diff
, the task fails with the following error:ansible-playbook -vvvv
says the relevant function call happens in ansible/plugins/action/assemble.py, line 143.Note: on my local machine that's currently line 144; 143 is on the current devel branch.
The last known working version is 8.6.1
Issue Type
Bug Report
Component Name
ansible.builtin.assemble
Ansible Version
Configuration
OS / Environment
This happens on my local machine running MacOS Sonoma 14.1.2 (Ansible installed via homebrew) as well as our CI system running in a
python:alpine
-based Docker environment with the same Ansible version as above (Ansible is installed via pip there and updated semi-automatically using renovatebot).Steps to Reproduce
This step fails with the error described above:
The step works when
--diff
is removed from theansible-playbook
command.Expected Results
I expected the
assemble
step to run successfully and produce a concatenated file with--diff
enabled but without printing the diff (due tono_log: true
- I set that tofalse
for debugging purposes to see the error message).Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: