/
main.yml
108 lines (91 loc) · 3.78 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
# Copyright 2018, TUBITAK B3LAB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
## Verbosity Options
debug: False
# Set the package install state for distribution and pip packages
# Options are 'present' and 'latest'
safirnotification_package_state: "latest"
safirnotification_pip_package_state: "latest"
## Toggle developer mode
safirnotification_developer_mode: False
## The git source/branch
safirnotification_git_repo: https://github.com/b3lab/safir_notification_service
safirnotification_git_install_branch: master
## The packages to build from source (used in developer mode)
safirnotification_developer_constraints:
- "git+{{ safirnotification_git_repo }}@{{ safirnotification_git_install_branch }}#egg=safirnotification"
# Name of the virtual env to deploy into
safirnotification_venv_tag: untagged
safirnotification_bin: "/openstack/venvs/safirnotification-{{ safirnotification_venv_tag }}/bin"
# venv_download, even when true, will use the fallback method of building the
# venv from scratch if the venv download fails.
safirnotification_venv_download: "{{ not safirnotification_developer_mode | bool }}"
# URL of the pre-built virtualenv
safirnotification_venv_download_url: http://127.0.0.1/venvs/untagged/ubuntu/safirnotification.tgz
## System info
safirnotification_system_user_name: safirnotification
safirnotification_system_group_name: safirnotification
safirnotification_system_shell: /bin/false
safirnotification_system_comment: safirnotification system user
safirnotification_system_user_home: "/var/lib/{{ safirnotification_system_user_name }}"
#safirnotification.conf variables
safirnotification_port: 9765
safirnotification_monitor_panel_url: '{{ keystone_service_publicuri_proto }}://{{ external_lb_vip_address }}/project/monitor'
safirnotification_email_host: ''
safirnotification_email_port: 587
safirnotification_email_host_user: ''
safirnotification_email_host_password: ''
cloud_config_name: 'default'
safirnotification_service_in_ldap: false
# safirnotification packages that must be installed before anything else
safirnotification_requires_pip_packages:
- virtualenv
- virtualenv-tools
- python-keystoneclient
- httplib2
# Common pip packages
safirnotification_pip_packages:
- pbr>=1.6 # Apache-2.0
- alembic>=0.8.0 # MIT
- eventlet!=0.18.3,>=0.18.2 # MIT
- keystonemiddleware
- aodhclient>=0.9.0
- python-openstackclient
- iso8601>=0.1.9 # MIT
- paramiko>=2.0.0
- PasteDeploy>=1.5.0 # MIT
- pecan>=1.0.0 # BSD
- WSME>=0.8 # MIT
- oslo.config>=3.7.0 # Apache-2.0
- oslo.context>=2.9.0 # Apache-2.0
- oslo.i18n>=2.1.0 # Apache-2.0
- oslo.log>=1.14.0 # Apache-2.0
- oslo.middleware>=3.0.0 # Apache-2.0
- oslo.utils>=3.5.0 # Apache-2.0
- six>=1.9.0 # MIT
- stevedore>=1.5.0 # Apache-2.0
- git+https://github.com/b3lab/safir_email_notifier@master#egg=safir_email_notifier
- git+https://github.com/b3lab/safir_notification_service@master#egg=safirnotification
safirnotification_api_init_overrides: {}
safirnotification_services:
safirnotification:
group: horizon_all
service_name: safirnotification-api
init_config_overrides: "{{ safirnotification_api_init_overrides }}"
start_order: 1
install_test_packages: False
safirnotification_role_project_group: horizon_all
safirnotification_config_overrides: {}
safirnotification_api_paste_ini_overrides: {}