From 50074e74bdab9bdf9a576ddc9d32dd2439f6d034 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 27 Oct 2020 16:28:30 +0100 Subject: [PATCH] Fix the README --- README.md | 75 +++++++++++++++++++------------------------------------ 1 file changed, 25 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index ecc2485..50fba37 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Role Name ========= -A role that installs ePAS, electronic Personnel Attendance System. +A role that installs the ePAS client, electronic Personnel Attendance System. Role Variables -------------- @@ -9,55 +9,30 @@ Role Variables The most important variables are listed below: ``` yaml -epas_docker_stack_name: 'epas_prod' -epas_docker_service_server_name: 'epas' -epas_docker_registry: 'docker-registry.services.iit.cnr.it' -epas_docker_server_image: '{{ epas_docker_registry }}/epas/epas:stable' -epas_docker_registry_user: 'epas.user' -epas_docker_registry_pwd: 'use a vault file' -epas_docker_network: 'epas_net' -epas_attachments_node: 'localhost' -epas_attachments_volume: 'epas_attachments_data' -epas_node_constraints: 'node.labels.epas_storage == attachments' -epas_behind_haproxy: True -epas_haproxy_public_net: 'haproxy-public' -# DB -# Set to true if postgresql must be a container too -epas_dockerized_db: False -# IMPORTANT. Set it to True for the server that is going to host the DB -epas_docker_db_node: False -epas_pg_version: '12' -epas_db_image: 'postgres:{{ epas_pg_version }}-alpine' -# The default hostname is the name of the container service -epas_db_host: 'postgres' -epas_db_name: 'epas_prod_db' -epas_db_allowed_hosts: - - '127.0.0.1' -#epas_db_pwd: 'set it in a vault file' -epas_db_user: 'epas_prod_user' -epas_db_volume: 'epas_prod_pg_data' -epas_db_constraints: '[node.labels.pg_data==epas_db]' -epas_pg_data_volume: 'epas_db_data' -epas_pg_backups_volume: 'epas_db_data' -psql_db_data: '{{ epas_psql_pg_data }}' -# Environment -epas_server_hostname: 'epas.example.com' -## SMTP -epas_smtp_server: 'localhost' -epas_smtp_port: 587 -epas_smtp_channel: 'starttls' -epas_smtp_from: 'epas@cnr.it' -epas_smtp_protocol: 'smtp' -epas_smtp_authentication: True -epas_smtp_user: '' -epas_smtp_password: 'use a vault file' -## LDAP -epas_ldap_login: 'false' -epas_ldap_url: 'ldap://ldap.example.org:389' -epas_ldap_timeout: 1000 -epas_ldap_base_dn: 'ou=People,dc=example,dc=org' -epas_ldap_login_return_uri: '/.' -epas_ldap_eppn_attribute_name: 'eduPersonPrincipalName' +epas_client_timbrature_stack_name: 'epas_c_timbrature' +epas_client_timbrature_service_name: 'epas_timbrature' +epas_client_timbrature_docker_registry: 'docker-registry.services.iit.cnr.it' +epas_client_timbrature_docker_registry_user: 'epas.user' +epas_client_timbrature_docker_registry_pwd: 'use a vault file' +epas_client_timbrature_docker_client_timbrature_image: '{{ epas_client_timbrature_docker_registry }}/epas/area-pisa-client:stable' +epas_client_timbrature_docker_client_timbrature_data_node: 'localhost' +epas_client_timbrature_data_volume: 'epas_dati_timbrature' +epas_client_timbrature_node_constraints: 'node.labels.epas_client == timbrature' +epas_client_timbrature_behind_haproxy: False +epas_client_timbrature_haproxy_public_net: 'haproxy-public' +epas_client_timbrature_compose_dir: '/srv/epas_client_timbrature' + +epas_client_timbrature_ftp_server_name: '127.0.0.1' +epas_client_timbrature_ftp_username: 'anonymous' +#epas_client_timbrature_ftp_pwd: 'use a vault file' +epas_client_timbrature_ftp_server_dir: 'AT' +epas_client_timbrature_ftp_file_prefix: 'x' +epas_client_timbrature_epas_server_name: 'epas.example.com' +epas_client_timbrature_epas_server_protocol: 'https' +epas_client_timbrature_epas_server_port: 443 +epas_client_timbrature_user: 'user' +#epas_client_timbrature_password: 'use a vault file' +epas_client_timbrature_loglevel: 'INFO' ``` Dependencies