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

Use ansible way to detect package existence, fixes gluster/gluster-ansible-infra#119 #122

Merged
merged 1 commit into from May 31, 2021

Conversation

hunter86bg
Copy link
Contributor

Signed-off-by: hunter86bg hunter86_bg@yahoo.com

Signed-off-by: hunter86bg <hunter86_bg@yahoo.com>
@hunter86bg hunter86bg changed the title Use ansible way to detect package existence Use ansible way to detect package existence, fixes gluster-ansible-infra#119 May 23, 2021
@hunter86bg hunter86bg changed the title Use ansible way to detect package existence, fixes gluster-ansible-infra#119 Use ansible way to detect package existence, fixes gluster/gluster-ansible-infra#119 May 23, 2021
@hunter86bg
Copy link
Contributor Author

@gobindadas ,

can you take a look ?

@amarts amarts merged commit 80028e5 into gluster:master May 31, 2021
ansible.builtin.package_facts:
manager: auto

- name: Print the package facts
Copy link

Choose a reason for hiding this comment

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

I'm not clear why you need to do this? (debug leftovers?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The debug will be visible only with '-v' or more , but won't be triggered with regular run.
That's due to 'verbosity: 1'.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It shouldn't be a problem at all and it won't slow the code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And future debugging is easierwithout changing the code.

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.

None yet

3 participants