-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
Removed st2web dependency on st2 module #279
base: master
Are you sure you want to change the base?
Conversation
9f5770c
to
66b0a7d
Compare
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.
Thanks! This enhancement makes sense to me 👍
I left one comment to address.
@@ -48,6 +48,7 @@ Below is the list of variables you can redefine in your playbook to customize st | |||
| `st2_packs` | `[ st2 ]` | List of packs to install. This flag does not work with a `--python3` only pack. | |||
| `st2_python_packages` | `[ ]` | List of python packages to install into the `/opt/stackstorm/st2` virtualenv. This is needed when deploying alternative auth or coordination backends which depend on Python modules to make them work. | |||
| **st2web** | |||
| `st2web_version` | `latest` | `st2web` version to install. `present` to install available package, `latest` to get automatic updates, or pin it to numeric version like `2.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.
Can you please also list the st2web_revision
var in the README as well? This looks like oversight from the past.
@@ -10,3 +10,6 @@ st2web_ssl_certificate_key: null | |||
|
|||
# String with a custom nginx configuration file to replace st2.conf. If not provided, the default st2.conf will be used. | |||
st2web_nginx_config: null | |||
|
|||
# StackStorm version to install. `present` to install available package, `latest` to get automatic updates or pin it to numeric version like `2.2.0`. | |||
st2web_version: 'latest' |
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.
Please move the st2web_version
variable added before the st2web_revision
above to make them logically aligned as we have in other Ansible roles like st2
and st2chatops
.
@nmaludy Could you please provide those minor changes and so we could merge the PR? |
The
StackStorm.st2web
role incorrectly declares a dependency on theStackStorm.st2
module. This causes issues if trying to use these roles to only install individual components on a system. Example: if you only want to installnginx
andst2web
on a box, it also pulls inst2
.