mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
closer to nextcloud install
This commit is contained in:
parent
e4c5056cea
commit
cf0a649085
2 changed files with 13 additions and 3 deletions
|
@ -19,14 +19,16 @@
|
||||||
- name: Install list of packages for debuntu
|
- name: Install list of packages for debuntu
|
||||||
package: name={{ item }} state=present
|
package: name={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- libapache2-mod-php5
|
- libapache2-mod-php
|
||||||
- php{{ php_version }}-gd
|
- php{{ php_version }}-gd
|
||||||
- php{{ php_version }}-json
|
- php{{ php_version }}-json
|
||||||
- php{{ php_version }}-mysql
|
- php{{ php_version }}-mysql
|
||||||
- php{{ php_version }}-curl
|
- php{{ php_version }}-curl
|
||||||
- php{{ php_version }}-intl
|
- php{{ php_version }}-intl
|
||||||
- php{{ php_version }}-mcrypt
|
- php{{ php_version }}-mcrypt
|
||||||
- php{{ php_version }}-imagick
|
- php-imagick
|
||||||
|
- php-zip
|
||||||
|
- php-mbstring
|
||||||
when: is_debuntu
|
when: is_debuntu
|
||||||
|
|
||||||
- name: Install list of packages
|
- name: Install list of packages
|
||||||
|
|
|
@ -28,7 +28,15 @@
|
||||||
service: name={{ apache_service }} state=restarted
|
service: name={{ apache_service }} state=restarted
|
||||||
|
|
||||||
- name: Run nextcloud initial install wizard
|
- name: Run nextcloud initial install wizard
|
||||||
shell: curl http://{{ iiab_hostname }}{{ nextcloud_url }}/index.php
|
shell: >
|
||||||
|
cd {{ nextcloud_prefix }}/nextcloud;
|
||||||
|
sudo -u {{ apache_user }} php occ maintennce:install
|
||||||
|
--database "mysql"
|
||||||
|
--database-name "{{ nextcloud_dbname }}"
|
||||||
|
--database-user "{{ nextcloud_dbuser }}"
|
||||||
|
--database-pass "{{ nextcloud_dbpassword }}"
|
||||||
|
--admin-user "root"
|
||||||
|
--admin-pass "{{ mysql_root_password }}"
|
||||||
when: nextcloud_enabled
|
when: nextcloud_enabled
|
||||||
|
|
||||||
- name: Remove Rewrite URL
|
- name: Remove Rewrite URL
|
||||||
|
|
Loading…
Reference in a new issue