Skip to content

Return user, project, and chroot from copr_build module#430

Merged
ekohl merged 1 commit into
theforeman:masterfrom
ogajduse:fix/copr-build-module-return-fields
Jun 12, 2026
Merged

Return user, project, and chroot from copr_build module#430
ekohl merged 1 commit into
theforeman:masterfrom
ogajduse:fix/copr-build-module-return-fields

Conversation

@ogajduse

Copy link
Copy Markdown
Member

Summary

  • Add user, project, and chroot to copr_build module's exit_json output
  • Newer Ansible no longer includes invocation.module_args in registered results, breaking tooling that needs these values to construct COPR repo URLs

Test plan

  • Scratch build with build_package_archive_build_info=True writes YAML containing user and project fields

Include user, project, and chroot fields in the module's
exit_json output. Newer Ansible versions no longer include
the invocation.module_args key in registered results, so
downstream tooling that needs these values (e.g. for
constructing COPR repository URLs) can no longer rely on it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ekohl ekohl merged commit fb8e217 into theforeman:master Jun 12, 2026
8 checks passed
@ogajduse ogajduse deleted the fix/copr-build-module-return-fields branch June 12, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants