Brak opisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yml 862B

12345678910111213141516171819202122
  1. secret_root: '{{ inventory_dir | realpath }}'
  2. secret_name: 'secret'
  3. secret: '{{ secret_root + "/" + secret_name }}'
  4. nextcloud_subdomain: "cloud"
  5. nextcloud_domain: "{{ nextcloud_subdomain }}.{{ domain }}"
  6. # When you increase the version, run this manually after installing / upgrading:
  7. # cd /var/www/nextcloud
  8. # sudo -u www-data php occ upgrade
  9. nextcloud_version: "15.0.5"
  10. nextcloud_admin_username: "{{ main_user_name }}"
  11. nextcloud_admin_password: "{{ lookup('password', secret + '/' + 'nextcloud_admin_password length=32') }}"
  12. nextcloud_db_username: nextclouduser
  13. nextcloud_db_password: "{{ lookup('password', secret + '/' + 'nextcloud_db_password length=32') }}"
  14. nextcloud_db_database: nextcloud
  15. # must match values in roles/common
  16. db_admin_username: 'postgres'
  17. db_admin_password: "{{ lookup('password', secret + '/' + 'db_admin_password length=32') }}"