mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update nextcloud_enabled.yml
This commit is contained in:
parent
a09d8edec5
commit
697698b4df
1 changed files with 3 additions and 3 deletions
|
@ -15,8 +15,8 @@
|
||||||
|
|
||||||
- name: Create symlink from sites-available to sites-enabled for http://box/nextcloud (debuntu)
|
- name: Create symlink from sites-available to sites-enabled for http://box/nextcloud (debuntu)
|
||||||
file:
|
file:
|
||||||
path: /etc/apache2/sites-enabled/nextcloud.conf
|
|
||||||
src: /etc/apache2/sites-available/nextcloud.conf
|
src: /etc/apache2/sites-available/nextcloud.conf
|
||||||
|
path: /etc/apache2/sites-enabled/nextcloud.conf
|
||||||
state: link
|
state: link
|
||||||
when: nextcloud_enabled and is_debuntu
|
when: nextcloud_enabled and is_debuntu
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
php '{{ nextcloud_prefix }}/nextcloud/occ' status |
|
php '{{ nextcloud_prefix }}/nextcloud/occ' status |
|
||||||
gawk '/installed:/ { print $3 }'
|
gawk '/installed:/ { print $3 }'
|
||||||
become: yes
|
become: yes
|
||||||
become_user: {{ apache_user }}
|
become_user: "{{ apache_user }}"
|
||||||
register: returned
|
register: returned
|
||||||
|
|
||||||
- name: Run Nextcloud initial install wizard
|
- name: Run Nextcloud initial install wizard
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
php '{{ nextcloud_prefix }}/nextcloud/occ' user:list |
|
php '{{ nextcloud_prefix }}/nextcloud/occ' user:list |
|
||||||
grep {{ nextcloud_user }} | wc | cut -d' ' -f1
|
grep {{ nextcloud_user }} | wc | cut -d' ' -f1
|
||||||
become: yes
|
become: yes
|
||||||
become_user: {{ apache_user }}
|
become_user: "{{ apache_user }}"
|
||||||
register: returned_count
|
register: returned_count
|
||||||
|
|
||||||
# nextcloud wants to make users rather than just mysql users and not done
|
# nextcloud wants to make users rather than just mysql users and not done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue