finished testing. succeded installing owncloud.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
domain_base: softbox.net
|
domain_base: reliyya.xyz
|
||||||
hostname: owncloud.{{ domain_base }}
|
hostname: owncloud.{{ domain_base }}
|
||||||
|
|
||||||
owncloud_core_path: "/var/www/owncloud"
|
owncloud_core_path: "/var/www/owncloud"
|
||||||
|
|||||||
@@ -8,11 +8,12 @@
|
|||||||
- name: Extract the archive.
|
- name: Extract the archive.
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
src: "/tmp/owncloud-complete-latest.tar.bz2"
|
src: "/tmp/owncloud-complete-latest.tar.bz2"
|
||||||
dest: "/var/www/owncloud"
|
dest: "/var/www/"
|
||||||
owner: www-data
|
owner: www-data
|
||||||
|
remote_src: yes
|
||||||
- name: Configure ownCloud's trusted domains
|
#- name: Configure ownCloud's trusted domains
|
||||||
command: >
|
# command: "{{ item }}"
|
||||||
my_ip=$(hostname -I|cut -f1 -d ' ')
|
# loop:
|
||||||
occ config:system:set trusted_domains 1 --value="$my_ip"
|
# - my_ip=$(hostname -I|cut -f1 -d ' ')
|
||||||
occ config:system:set trusted_domains 2 --value="{{ hostname }}"
|
# - 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