-
Notifications
You must be signed in to change notification settings - Fork 34
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
OPSEXP-3057 Refactor repository role to use default vars #1091
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about we set a fact for acs_play_repository_acs_edition == "Enterprise"
e.g. acs_isEnterprise
?
@@ -4,8 +4,6 @@ if [ $(id -u) -eq 0 ]; then | |||
exit | |||
fi | |||
. {{ config_folder }}/setenv.sh | |||
{% if acs.version is version('7.2.0', '>=') -%} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we getting rid of this condition and not the same one in repo role?
@@ -71,3 +71,8 @@ argument_specs: | |||
required: false | |||
description: | | |||
The URL to download the checksum of the transformers All-In-One artifact. | |||
transformers_repository_acs_edition: | |||
type: str |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add choices
with accepted values. https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_reuse_roles.html#specification-format
ref: OPSEXP-3057