Make the _pip_packages understood by py_pkgs

py_pkgs is not yet deprecated, nor does it get parsable by ansible.
We need a static list instead.

This replaces the dynamic list creation with a static list.

Change-Id: Ie2238a4860a110e5fc64e2c55246535467e9077b
This commit is contained in:
Jean-Philippe Evrard 2019-03-19 18:37:11 +01:00
parent ed7ccad898
commit 904d9217aa
1 changed files with 7 additions and 1 deletions

View File

@ -154,7 +154,13 @@ sahara_plugin_base:
- vanilla
sahara_plugin_loaded_base: "{% for plugin in sahara_plugin_base %}{{ plugin }}{% if not loop.last %},{% endif %}{% endfor %}"
sahara_plugin_pip_packages: "{{ sahara_plugin_base | map('regex_replace', '^(.*)$', 'sahara-plugin-\\1') | list }}"
sahara_plugin_pip_packages:
- sahara-plugin-ambari
- sahara-plugin-cdh
- sahara-plugin-mapr
- sahara-plugin-spark
- sahara-plugin-storm
- sahara-plugin-vanilla
## Cap the maximum number of threads / workers when a user value is unspecified.
sahara_api_workers_max: 16