duplicity_playbooks/vars/main.yml

89 lines
2.4 KiB
YAML

user: centos
CLOUD_SERVER: cloud.scimetis.net
GIT_SERVER: git.scimetis.net
OS_SWIFT_REGION_NAME: GRA
WORKDIR: /mnt/volumes/tmp_duplicity_workdir/data
ARCHIVE_DIR: /mnt/volumes/duplicity_cache/data
BOOTSTRAP_REPOS:
- docker-nextcloud-stack
- docker-reverse-proxy-stack
- docker-reverse-proxy
- docker-gogs-stack
- docker-mysql-stack
- docker-mysql
BOOTSTRAP_REQUIRED_ENV_VARS:
- OS_AUTH_URL
- OS_IDENTITY_API_VERSION
- OS_TENANT_NAME
- OS_USERNAME
- OS_PASSWORD
- OS_REGION_NAME
- SECRETS_ARCHIVE_PASSPHRASE
- DUPLICITY_PASSPHRASE
- KEY
- DOC_KEY
- BACKUP_WORKFLOW
BACKUP_OVH1_VOLUMES:
- name: elasticsearch_data
dir: /mnt/volumes/elasticsearch_data/data
- name: gogs_data
dir: /mnt/volumes/gogs_data/data
- name: mail_data
dir: /mnt/volumes/mail_data/data
- name: mail_data_Sylvie
dir: /mnt/volumes/mail_data_Sylvie/data
- name: nextcloud
dir: /mnt/volumes/nextcloud/data
- name: reverse-proxy_conf
dir: /mnt/volumes/reverse-proxy_conf/data
- name: reverse-proxy_conf_enabled
dir: /mnt/volumes/reverse-proxy_conf_enabled/data
- name: reverse-proxy_letsencrypt
dir: /mnt/volumes/reverse-proxy_letsencrypt/data
- name: scuttle_code
dir: /mnt/volumes/scuttle_code/data
- name: scuttle_php5-fpm_conf
dir: /mnt/volumes/scuttle_php5-fpm_conf/data
- name: etc_grafana
dir: /mnt/volumes/etc_grafana/data
- name: var_lib_grafana
dir: /mnt/volumes/var_lib_grafana/data
- name: var_log_grafana
dir: /mnt/volumes/var_log_grafana/data
- name: registry_data
dir: /mnt/volumes/registry_data/data
- name: registry_auth
dir: /mnt/volumes/registry_auth/data
- name: registry_certs
dir: /mnt/volumes/registry_certs/data
BACKUP_OVH1_REQUIRED_ENV_VARS:
- OS_AUTH_URL
- OS_IDENTITY_API_VERSION
- OS_TENANT_NAME
- OS_USERNAME
- OS_PASSWORD
- OS_REGION_NAME
- DUPLICITY_PASSPHRASE
- BACKUP_WORKFLOW
PLAYBOOK_REQUIRED_ENV_VARS:
- KEY
- DOC_KEY
- SECRETS_ARCHIVE_PASSPHRASE
- DUPLICITY_PASSPHRASE
- BACKUP_WORKFLOW
DUPLICITY_ENVIRONMENT:
SWIFT_AUTHURL: "{{ lookup('env','OS_AUTH_URL') }}"
SWIFT_AUTHVERSION: "{{ lookup('env','OS_IDENTITY_API_VERSION') }}"
SWIFT_TENANTNAME: "{{ lookup('env','OS_TENANT_NAME') }}"
SWIFT_USERNAME: "{{ lookup('env','OS_USERNAME') }}"
SWIFT_PASSWORD: "{{ lookup('env','OS_PASSWORD') }}"
SWIFT_REGIONNAME: "{{ lookup('env','OS_REGION_NAME') }}"
PASSPHRASE: "{{ lookup('env','DUPLICITY_PASSPHRASE') }}"