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

Gather facts when os_hardening role is executed with tags #708

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

schurzi
Copy link
Contributor

@schurzi schurzi commented Nov 1, 2023

Our os_hardening role is supposed to be usable with tags. Since Ansible 2.8 facts are not automatically gathered, if the paybook is called with tags. By using a separate step to gather facts in our role we make the role usable with tags again.

@schurzi schurzi added the bug label Nov 1, 2023
@schurzi schurzi requested a review from rndmh3ro November 1, 2023 13:53
@schurzi schurzi linked an issue Nov 1, 2023 that may be closed by this pull request
Signed-off-by: Martin Schurz <[email protected]>
@rndmh3ro rndmh3ro merged commit da017fa into master Nov 1, 2023
32 of 34 checks passed
@rndmh3ro rndmh3ro deleted the tag_facts branch November 1, 2023 14:54
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.

Error: No file was found when using first_found on Ubuntu 20.04
2 participants