Install Nextcloud in MariaDB database

This commit is contained in:
Kris Lamoureux 2020-07-09 00:09:48 -04:00
parent f5cf7fd8b0
commit a950b4057b
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -50,6 +50,11 @@
- name: Install Nextcloud - name: Install Nextcloud
command: 'docker exec --user www-data {{ nextcloud_name }} command: 'docker exec --user www-data {{ nextcloud_name }}
php occ maintenance:install php occ maintenance:install
--database "mysql"
--database-host "{{ mariadb_name }}"
--database-name "{{ nextcloud_dbname }}"
--database-user "{{ nextcloud_dbuser }}"
--database-pass "{{ nextcloud_dbpass }}"
--admin-user "{{ nextcloud_admin }}" --admin-user "{{ nextcloud_admin }}"
--admin-pass "{{ nextcloud_pass }}"' --admin-pass "{{ nextcloud_pass }}"'
register: nextcloud_install register: nextcloud_install