Skip to content

Refactor integration-related tasks #483

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

Merged
merged 3 commits into from
May 17, 2023

Conversation

bkabrda
Copy link
Contributor

@bkabrda bkabrda commented May 15, 2023

This change makes the code tidier and user-facing messages prettier. It also ensures that Windows tasks will only be imported on Windows, thus making the ansible.windows collection optional.

This fixes #450.

This change makes the code tidier and user-facing messages prettier.
It also ensures that Windows tasks will only be imported on Windows,
thus making the ansible.windows collection optional.
@bkabrda bkabrda requested a review from a team as a code owner May 15, 2023 12:16
Copy link
Member

@chouetz chouetz left a comment

Choose a reason for hiding this comment

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

I guess at least the correction on calling the macos file on top condition must be changed, thanks in advance

- name: Set Agent user for integration commmand
set_fact:
integration_command_user: "{{ integration_command_user_windows }}"
when: ansible_facts.os_family == "Windows"
Copy link
Member

Choose a reason for hiding this comment

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

This (and the other when conditions mentioning "Windows") are unnecessary as already checked to call this file, correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I forgot to remove the conditions from this file, thanks for pointing it out!

Slavek Kabrda and others added 2 commits May 15, 2023 16:22
Copy link
Member

@chouetz chouetz left a comment

Choose a reason for hiding this comment

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

LGTM!

@bkabrda bkabrda merged commit 04bf8cf into main May 17, 2023
@bkabrda bkabrda deleted the slavek.kabrda/refactor-integration-tasks branch May 17, 2023 06:47
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.

WIndows specific task FAILED when run playbook for linux
2 participants