|
|
@ -72,8 +72,9 @@
|
|
|
|
lineinfile:
|
|
|
|
lineinfile:
|
|
|
|
backrefs: yes
|
|
|
|
backrefs: yes
|
|
|
|
path: "{{ nextcloud_config }}"
|
|
|
|
path: "{{ nextcloud_config }}"
|
|
|
|
|
|
|
|
firstmatch: yes
|
|
|
|
insertafter: "array \\("
|
|
|
|
insertafter: "array \\("
|
|
|
|
regexp: "^(\\s*)0 => '.*',$"
|
|
|
|
regexp: "^(\\s*)0 => '([^.]\\.)+[^.]*',$"
|
|
|
|
line: "\\g<1>0 => '{{ domain }}',"
|
|
|
|
line: "\\g<1>0 => '{{ domain }}',"
|
|
|
|
validate: /usr/bin/php %s
|
|
|
|
validate: /usr/bin/php %s
|
|
|
|
|
|
|
|
|
|
|
@ -82,6 +83,7 @@
|
|
|
|
lineinfile:
|
|
|
|
lineinfile:
|
|
|
|
backrefs: yes
|
|
|
|
backrefs: yes
|
|
|
|
path: "{{ nextcloud_config }}"
|
|
|
|
path: "{{ nextcloud_config }}"
|
|
|
|
|
|
|
|
firstmatch: yes
|
|
|
|
insertafter: "'version'"
|
|
|
|
insertafter: "'version'"
|
|
|
|
regexp: "^(\\s*)'overwrite.cli.url' => '.*',$"
|
|
|
|
regexp: "^(\\s*)'overwrite.cli.url' => '.*',$"
|
|
|
|
line: "\\1'overwrite.cli.url' => 'https://{{ domain }}',"
|
|
|
|
line: "\\1'overwrite.cli.url' => 'https://{{ domain }}',"
|
|
|
|