added more configuration, but tests failed.
This commit is contained in:
@@ -11,9 +11,14 @@
|
||||
dest: "/var/www/"
|
||||
owner: www-data
|
||||
remote_src: yes
|
||||
#- name: Configure ownCloud's trusted domains
|
||||
# command: "{{ item }}"
|
||||
# loop:
|
||||
# - my_ip=$(hostname -I|cut -f1 -d ' ')
|
||||
# - occ config:system:set trusted_domains 1 --value="$my_ip"
|
||||
# - occ config:system:set trusted_domains 2 --value="{{ hostname }}"
|
||||
|
||||
- name: Install ownCloud (via occ)
|
||||
command: >
|
||||
occ maintenance:install --database "mysql" --database-name "owncloud" --database-user "owncloud" --database-pass "{{ mysql_passwd }}" --data-dir "{{ owncloud_core_path }}/data" --admin-user "root" --admin-pass "{{ mysql_passwd }}"
|
||||
|
||||
- name: Configure ownCloud's trusted domains
|
||||
command: "{{ item }}"
|
||||
loop:
|
||||
- my_ip=$(hostname -I|cut -f1 -d ' ')
|
||||
- occ config:system:set trusted_domains 1 --value="$my_ip"
|
||||
- occ config:system:set trusted_domains 2 --value="{{ hostname }}"
|
||||
|
||||
Reference in New Issue
Block a user