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

REFACTOR tasks/variables.yml: use first_found filter for loading of vars files #60

Merged
merged 1 commit into from
Apr 23, 2023

Conversation

johanneskastl
Copy link
Contributor

See https://docs.ansible.com/ansible/latest/collections/ansible/builtin/first_found_lookup.html#examples

Not sure if both of the first files are needed, IMHO they both do the same thing (unless Amazon Linux does not have the major_version set properly).

@jvoss jvoss force-pushed the 20230423_rework_variable_loading branch from 1b3dc66 to ca291e1 Compare April 23, 2023 17:08
@jvoss
Copy link
Owner

jvoss commented Apr 23, 2023

I believe this should be fine. Amazon Linux did not have a decimal to split the version number on used by other supported distributions at the time. It looks like your changes here should be compatible with this. Thanks!

@jvoss jvoss merged commit fffb3f1 into jvoss:main Apr 23, 2023
@johanneskastl johanneskastl deleted the 20230423_rework_variable_loading branch April 24, 2023 07:05
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.

2 participants