mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
use lineinfile
This commit is contained in:
parent
d26d6fa4e0
commit
42e679a0e8
14 changed files with 49 additions and 36 deletions
|
|
@ -183,6 +183,8 @@
|
|||
mode: 0644
|
||||
|
||||
- name: Add 'nextcloud_installed' variable values to {{ iiab_installed }}
|
||||
ini_file:
|
||||
path: "{{ iiab_installed }}"
|
||||
value: nextcloud_installed
|
||||
lineinfile:
|
||||
dest: "{{ iiab_installed }}"
|
||||
regexp: '^nextcloud_installed'
|
||||
line: 'nextcloud_installed'
|
||||
state: present
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
# nextcloud_user/nextcloud_user_password) is just not needed in the end...
|
||||
#
|
||||
# NOTE: COMMENTS (FOLLOWING '#' SIGN) WITHIN A SHELL COMMAND CAUSE IT TO *FAIL*
|
||||
#
|
||||
#
|
||||
#- name: Determine if Nextcloud user exists already
|
||||
# shell: >
|
||||
# php {{ nextcloud_prefix }}/nextcloud/occ user:list |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue