48 lines
2.7 KiB
YAML
48 lines
2.7 KiB
YAML
---
|
|
# vars file for pre
|
|
nextcloud_path: "{{ '/usr/share/nginx/html' if ansible_facts['os_family'] == 'RedHat' else '/var/www/html' }}"
|
|
nextcloud_occ: "{{ nextcloud_path }}/occ"
|
|
nginx_path: "{{ '/etc/nginx/conf.d' if ansible_facts['os_family'] == 'RedHat' else '/etc/nginx/sites-enabled' }}"
|
|
# FIXME: Set PHP version from Debian version: 7.4 for Debian 11, 7.3 for Debian 10
|
|
php_ini_path: "{{ '/etc' if ansible_facts['os_family'] == 'RedHat' else '/etc/php/7.3/fpm' }}"
|
|
php_pool_path: "{{ '/etc/php-fpm.d' if ansible_facts['os_family'] == 'RedHat' else '/etc/php/7.3/fpm/pool.d' }}"
|
|
php_fpm_service: "{{ 'php-fpm' if ansible_facts['os_family'] == 'RedHat' else 'php7.3-fpm' }}"
|
|
document_root: "{{ '/usr/share/nginx/html' if ansible_facts['os_family'] == 'RedHat' else '/var/www/html' }}"
|
|
web_user: "{{ 'nginx' if ansible_facts['os_family'] == 'RedHat' else 'www-data' }}"
|
|
pg_hba_conf: "{{ '/var/lib/pgsql/data/pg_hba.conf' if ansible_facts['os_family'] == 'RedHat' else '/etc/postgresql/13/main/pg_hba.conf' }}"
|
|
redis_dir: "{{ '/etc' if ansible_facts['os_family'] == 'RedHat' else '/etc/redis' }}"
|
|
redis_user: "nextcloud"
|
|
redis_url: "https://127.0.0.1"
|
|
redis_password: "2XenoNNBtLJqrELTfmCLum/42Guz72Ym0RPMxXh5+pT"
|
|
nextcloud_version: "22.1.0"
|
|
nextcloud_checksum: "sha256:4820808f799146853604e1fa27d7f292449018a44dc73bf928a97b02028318ba"
|
|
nextcloud_database: "nextcloud"
|
|
nextcloud_database_user: "nextcloud"
|
|
nextcloud_database_user_password: "nVdUe6%Ua9c,Rd.8BVugPHPm2yqUSXWCAy%1GXOQGn8tg9F?k%R"
|
|
nextcloud_admin_user: "nextcloud_admin"
|
|
nextcloud_admin_password: "prueba123"
|
|
#nextcloud_domain_name: "{{ ansible_default_ipv4.address }}"
|
|
nextcloud_domain_name: "nextcloud"
|
|
# The only way to make notify_push work without a signed cert is to use plain http
|
|
notify_push_nextcloud_url: "http://localhost"
|
|
key_size: 4096
|
|
key_type: "RSA" # Others include DSA, ECC, Ed25519, Ed448, X25519, X448
|
|
country_name: "MX"
|
|
email_address: "ssl@{{ nextcloud_domain_name }}"
|
|
organization_name: "AnsibleNextcloud"
|
|
#server_hostname: "{{ ansible_hostname }}"
|
|
server_hostname: "{{ nextcloud_domain_name }}"
|
|
redis_cert_private_key: "/etc/pki/tls/private/redis_key.pem"
|
|
redis_cert: "/etc/pki/tls/certs/redis.crt"
|
|
redis_csr: "/etc/pki/tls/certs/redis-self.csr"
|
|
generate_self_signed_cert: true
|
|
nginx_ssl_key_file: "/etc/pki/tls/private/nginx_key.pem"
|
|
nginx_ssl_cert_file: "/etc/pki/tls/certs/nginx.crt"
|
|
nginx_ssl_csr_file: "/etc/pki/tls/certs/nginx-self-signed.csr"
|
|
#nextcloud_domain: "cloud.example.com"
|
|
code_enable_ssl: false
|
|
code_enable_ssl_termination: true
|
|
code_ssl_key: ""
|
|
code_ssl_cert: ""
|
|
code_ssl_ca: ""
|
|
|