fix issue for migration

This commit is contained in:
vincent 2020-09-08 23:32:56 +02:00
parent 91afd99167
commit fb7ca8af63
2 changed files with 3 additions and 2 deletions

View File

@ -13,6 +13,7 @@
name: "{{ nextcloud_db_name }}"
lc_collate: fr_FR.UTF-8
encoding: utf8
template: template0
owner: "{{ nextcloud_db_user }}"
state: present
register: nextcloud_database_creation

View File

@ -78,7 +78,7 @@
lineinfile:
path: '{{ nextcloud_web_root }}/config/config.php'
regexp: '^\s*''{{ item.option }}'''
line: ' ''{{ item.option }}'' => {{ item.value }},'
line: ' ''{{ item.option }}'' => ''{{ item.value }}'','
insertafter: '\$CONFIG'
with_items: '{{ nextcloud_db_options }}'
when: nextcloud_config_options is defined
@ -88,7 +88,7 @@
lineinfile:
path: '{{ nextcloud_web_root }}/config/config.php'
regexp: '^\s*''{{ item.option }}'''
line: ' ''{{ item.option }}'' => {{ item.value }},'
line: ' ''{{ item.option }}'' => ''{{ item.value }}'','
insertafter: '\$CONFIG'
with_items: '{{ nextcloud_config_options }}'
when: nextcloud_config_options is defined