ansible-role-open-asfa-test/defaults/main.yml

35 lines
1.6 KiB
YAML
Raw Normal View History

2021-03-09 14:16:57 +01:00
---
2021-03-09 15:05:22 +01:00
open_asfa_compose_dir: '/srv/open_asfa_stack_test'
open_asfa_docker_stack_name: 'open-asfa-test'
open_asfa_docker_service_server_name: 'asfa-server-test'
open_asfa_docker_service_client_name: 'asfa-client-test'
open_asfa_docker_server_image: 'lucabrl01/asfa-server'
open_asfa_docker_client_image: 'lucabrl01/asfa-client'
open_asfa_docker_network: 'open_asfa_test_net'
open_asfa_behind_haproxy: True
open_asfa_haproxy_public_net: 'haproxy-public'
# DB
open_asfa_db_as_container: True
open_asfa_db_pg_version: 12
open_asfa_db_image: 'postgres:{{ open_asfa_db_pg_version }}-alpine'
open_asfa_db_docker_host: 'localhost'
2021-03-09 15:05:22 +01:00
open_asfa_db_host: 'pg'
open_asfa_db_port: 5432
#open_asfa_db_pwd: 'set it in a vault file'
open_asfa_db_name: 'asfadb'
open_asfa_db_user: 'asfadb_user'
open_asfa_db_volume: 'asfa_pg_data'
open_asfa_db_allowed_hosts:
- '127.0.0.1/8'
2021-04-16 13:30:58 +02:00
open_asfa_db_constraints: '[node.labels.pg_data_asfa_test==asfa_server_test]'
2021-03-15 18:49:28 +01:00
open_asfa_pgadmin_image: 'dpage/pgadmin4'
open_asfa_pgadmin_data_vol: 'asfa_test_pgadmin_data'
2021-04-16 13:30:58 +02:00
open_asfa_pgadmin_docker_host: '{{ open_asfa_db_docker_host }}'
open_asfa_pgadmin_constraints: '[node.labels.pgadmin_data_asfa_test==asfa_server_test]'
2021-03-15 18:49:28 +01:00
open_asfa_pgadmin_email: 'noreply@example.com'
#open_asfa_pgadmin_default_pwd: 'Use a vault'
open_asfa_pgadmin_inactivity_timeout: '1200'
2021-03-09 15:05:22 +01:00
open_asfa_psql_db_data:
- { db_host: '{{ open_asfa_db_host }}', pgsql_version: '{{ open_asfa_db_pg_version }}', name: '{{ open_asfa_db_name }}', encoding: 'UTF8', user: '{{ open_asfa_db_user }}', roles: 'CREATEDB,NOSUPERUSER', pwd: '{{ open_asfa_db_pwd }}', allowed_hosts: '{{ open_asfa_db_allowed_hosts }}' }