Initial commit
[ta/infra-ansible.git] / roles / access-management / defaults / main.yaml
1 # Copyright 2019 Nokia
2
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 ---
16 am_config:
17   Logging:
18     loglevel: DEBUG
19     logdir: /var/log/access_management
20   DB:
21     name: am_database
22     user: am_db_user
23     pwd: "{{ am_db_user_password }}"
24     addr: "{{ aaa_galera_address }}"
25     port: 3306
26   Keystone:
27     auth_uri: "{{ keystone_service_internalurl }}"
28   Api:
29     host: "{{ am_listening_host }}"
30     port: "{{ auth_server_service_port }}"
31
32 am_backend_config:
33   Logging:
34     loglevel: "{{ am_config.Logging.loglevel }}"
35     logdir: "{{ am_config.Logging.logdir }}"
36   DB:
37     name: "{{ am_config.DB.name }}"
38     user: am_db_backend_user
39     pwd: "{{ am_db_user_backend_password }}"
40     addr: "{{ am_config.DB.addr }}"
41     port: "{{ am_config.DB.port }}"
42   Keystone:
43     auth_uri: "{{ am_config.Keystone.auth_uri }}"
44   Api:
45     host: "{{ am_config.Api.host }}"
46     port: "{{ am_config.Api.port }}"
47
48 infrastructure_admin_user_name: "{{ users.initial_user_name }}"
49 infrastructure_admin_password: "{{ users.initial_user_password }}"
50 am_project_name: infrastructure
51 am_project_domain: default
52 am_admin_role_name: admin
53 am_member_role_name: _member_
54 openrc_region_name: RegionOne
55 openrc_clouds_yml_interface: internal
56 service_proto: http
57 service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(service_proto) }}"
58
59 am_listening_host : localhost
60 am_server_config_dir : /etc/access_management/
61 am_plugin_config_file : am_config.ini
62 am_plugin_config_path : "{{am_server_config_dir}}{{am_plugin_config_file}}"
63 am_backend_config_file : am_backend_config.ini
64 am_backend_config_path : "{{am_server_config_dir}}{{am_backend_config_file}}"
65 am_server_temp_dir : "{{am_server_config_dir}}temp"
66 am_server_values_dir : "{{am_server_config_dir}}values"
67 am_cloud_yaml_path : "{{ am_server_temp_dir }}/cloud.yaml"
68 policy_sudoer : /etc/sudoers.d/policy_sudoer
69 lib_source_folder : /usr/lib/python2.7/site-packages