Initial commit
[ta/infra-ansible.git] / roles / access-management / defaults / main.yaml
diff --git a/roles/access-management/defaults/main.yaml b/roles/access-management/defaults/main.yaml
new file mode 100644 (file)
index 0000000..a02a133
--- /dev/null
@@ -0,0 +1,69 @@
+# Copyright 2019 Nokia
+
+# 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.
+
+---
+am_config:
+  Logging:
+    loglevel: DEBUG
+    logdir: /var/log/access_management
+  DB:
+    name: am_database
+    user: am_db_user
+    pwd: "{{ am_db_user_password }}"
+    addr: "{{ aaa_galera_address }}"
+    port: 3306
+  Keystone:
+    auth_uri: "{{ keystone_service_internalurl }}"
+  Api:
+    host: "{{ am_listening_host }}"
+    port: "{{ auth_server_service_port }}"
+
+am_backend_config:
+  Logging:
+    loglevel: "{{ am_config.Logging.loglevel }}"
+    logdir: "{{ am_config.Logging.logdir }}"
+  DB:
+    name: "{{ am_config.DB.name }}"
+    user: am_db_backend_user
+    pwd: "{{ am_db_user_backend_password }}"
+    addr: "{{ am_config.DB.addr }}"
+    port: "{{ am_config.DB.port }}"
+  Keystone:
+    auth_uri: "{{ am_config.Keystone.auth_uri }}"
+  Api:
+    host: "{{ am_config.Api.host }}"
+    port: "{{ am_config.Api.port }}"
+
+infrastructure_admin_user_name: "{{ users.initial_user_name }}"
+infrastructure_admin_password: "{{ users.initial_user_password }}"
+am_project_name: infrastructure
+am_project_domain: default
+am_admin_role_name: admin
+am_member_role_name: _member_
+openrc_region_name: RegionOne
+openrc_clouds_yml_interface: internal
+service_proto: http
+service_internaluri_proto: "{{ openstack_service_internaluri_proto | default(service_proto) }}"
+
+am_listening_host : localhost
+am_server_config_dir : /etc/access_management/
+am_plugin_config_file : am_config.ini
+am_plugin_config_path : "{{am_server_config_dir}}{{am_plugin_config_file}}"
+am_backend_config_file : am_backend_config.ini
+am_backend_config_path : "{{am_server_config_dir}}{{am_backend_config_file}}"
+am_server_temp_dir : "{{am_server_config_dir}}temp"
+am_server_values_dir : "{{am_server_config_dir}}values"
+am_cloud_yaml_path : "{{ am_server_temp_dir }}/cloud.yaml"
+policy_sudoer : /etc/sudoers.d/policy_sudoer
+lib_source_folder : /usr/lib/python2.7/site-packages