1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

closer to nextcloud install

This commit is contained in:
George Hunt 2017-06-18 18:16:28 -07:00 committed by georgejhunt
parent e4c5056cea
commit cf0a649085
2 changed files with 13 additions and 3 deletions

View file

@ -19,14 +19,16 @@
- name: Install list of packages for debuntu
package: name={{ item }} state=present
with_items:
- libapache2-mod-php5
- libapache2-mod-php
- php{{ php_version }}-gd
- php{{ php_version }}-json
- php{{ php_version }}-mysql
- php{{ php_version }}-curl
- php{{ php_version }}-intl
- php{{ php_version }}-mcrypt
- php{{ php_version }}-imagick
- php-imagick
- php-zip
- php-mbstring
when: is_debuntu
- name: Install list of packages

View file

@ -28,7 +28,15 @@
service: name={{ apache_service }} state=restarted
- 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
- name: Remove Rewrite URL