Commit 3884ee00 authored by Flávio Ramalho's avatar Flávio Ramalho
Browse files

Fix monasca-persister dependency and identation on create service script.

parent ac41f0c8
......@@ -13,6 +13,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Install monasca-persister required pip packages (venv)
pip:
name: "{{ item }}"
virtualenv: "/opt/venvs/monasca-persister"
with_items:
- "influxdb==2.8.0"
tags:
- monasca-persister-pip-packages
- monasca-install-persister
- name: Create monasca-persister tarball
command: "/opt/venvs/monasca-persister/bin/python setup.py sdist"
args:
......
......@@ -163,9 +163,9 @@ def main(argv):
'password': '{{ os_password }}',
'role': 'monasca-user'},
{'username': '{{ os_mon_read_only_username }}',
'project': '{{ os_mon_project_name }}',
'password': '{{ os_mon_read_only_password }}',
'role': 'monasca-read-only-user'}
'project': '{{ os_mon_project_name }}',
'password': '{{ os_mon_read_only_password }}',
'role': 'monasca-read-only-user'}
]
url = 'http://{{ keystone_ip_address }}:35357/v3'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment