Skip to content
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

Bug: Skipping project export while exporting related objects #896

Merged
merged 3 commits into from
Aug 26, 2024

Conversation

przemkalit
Copy link
Contributor

What does this PR do?

This PR fixes the issue I discovered today, where the export of the project is always skipped due to the existence of the project_id variable within the task in when statement.

How should this be tested?

- name: Get the job template and related project
  hosts: all 
  tasks:
    - name: Retrieve the job_template
      vars:
        job_template_id: 1
        export_related_objects: true
      ansible.builtin.include_role: infra.controller_configuration.filetree_create

Is there a relevant Issue open for this?

N/A

Other Relevant info, PRs, etc

#854

Copy link
Contributor

@ivarmu ivarmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Sorry for the late reply, I've been in Holidays :-)

@ivarmu ivarmu merged commit c949614 into redhat-cop:devel Aug 26, 2024
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants