Ensure that the workaround for openssl is only executed on Centos Stream 9#1965
Merged
Odilhao merged 1 commit intoJul 8, 2026
Merged
Conversation
ogajduse
approved these changes
Jul 8, 2026
evgeni
reviewed
Jul 8, 2026
| @@ -23,6 +23,7 @@ | |||
| when: | |||
| - ansible_facts['os_family'] == 'RedHat' | |||
Member
There was a problem hiding this comment.
os_name is CentOS and could have been used here
Member
Author
There was a problem hiding this comment.
I think the problem for me was that I did run
ansible localhost -i "localhost," -c local -m setup | grep os_name and it returned blank, probably because I did that inside of one container.
I used this fact because: of this:
ansible localhost -i "localhost," -c local -m setup -a "filter=ansible_distribution*"
localhost | SUCCESS => {
"ansible_facts": {
"ansible_distribution": "CentOS",
"ansible_distribution_file_parsed": true,
"ansible_distribution_file_path": "/etc/centos-release",
"ansible_distribution_file_variety": "CentOS",
"ansible_distribution_major_version": "9",
"ansible_distribution_release": "Stream",
"ansible_distribution_version": "9",
"discovered_interpreter_python": "/usr/bin/python3"
},
"changed": false
}
Member
There was a problem hiding this comment.
Or distribution, that works too.
Never remember the right name between facter/puppet and ansible
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.