fix ansible script
This commit is contained in:
parent
63603599ee
commit
2f0ee73de3
1 changed files with 0 additions and 25 deletions
|
@ -25,28 +25,3 @@
|
|||
- name: Install nextcloud snap
|
||||
snap:
|
||||
name: nextcloud
|
||||
|
||||
- name: Allow access to removable media
|
||||
command:
|
||||
cmd: snap connect nextcloud:removable-media
|
||||
|
||||
- name: Sleep
|
||||
pause:
|
||||
seconds: 15
|
||||
|
||||
- name: Stop nextcloud
|
||||
command:
|
||||
cmd: snap stop nextcloud
|
||||
|
||||
- name: Change data directory
|
||||
lineinfile:
|
||||
path: /var/snap/nextcloud/current/nextcloud/config/config.php
|
||||
line: " 'datadirectory' => '/mnt/data/nextcloud/data',"
|
||||
regexp: " 'datadirectory' => "
|
||||
backrefs: yes
|
||||
|
||||
- name: Start nextcloud
|
||||
command:
|
||||
cmd: snap start nextcloud
|
||||
|
||||
# Default data dir /var/snap/nextcloud/common/nextcloud/data
|
||||
|
|
Reference in a new issue