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

support for rocky linux or el #544

Open
oferchen opened this issue Jun 24, 2024 · 1 comment
Open

support for rocky linux or el #544

oferchen opened this issue Jun 24, 2024 · 1 comment

Comments

@oferchen
Copy link

hello,
it is possible to include support for rocky linux or rather enterprise linux family?

thanks

@alainseys
Copy link

alainseys commented Sep 15, 2024

@oferchen you can do this by changing the when statement

from
- ansible.builtin.include_tasks: setup-RedHat.yml
when: ansible_os_family == 'RedHat'

to
- ansible.builtin.include_tasks: setup-RedHat.yml
when: ansible_os_family == 'Rockey'

but a better approuch should be like this

- ansible.builtin.include_tasks: setup-RedHat.yml
when: ansible_os_family in ['RedHat','Rockey']

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

No branches or pull requests

2 participants