Browse Source

Add owncloud default vars to role

Allen Riddell 8 years ago
parent
commit
ab9ebd6e5c
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      roles/owncloud/defaults/main.yml

+ 8
- 0
roles/owncloud/defaults/main.yml View File

1
+secret_root: '{{ inventory_dir | realpath }}'
2
+secret_name: 'secret'
3
+secret: '{{ secret_root + "/" + secret_name }}'
4
+
5
+owncloud_domain: "cloud.{{ domain }}"
6
+owncloud_db_username: owncloud
7
+owncloud_db_password: "{{ lookup('password', secret + '/' + 'owncloud_db_password', length=32) }}"
8
+owncloud_db_database: owncloud

Loading…
Cancel
Save