mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Act on 'usb_lib_umask0000_for_kolibri: False' if runrole forced
This commit is contained in:
parent
02050f3898
commit
4ee23ea008
1 changed files with 11 additions and 1 deletions
|
@ -77,13 +77,23 @@
|
||||||
path: /etc/usbmount/usbmount.conf
|
path: /etc/usbmount/usbmount.conf
|
||||||
when: usb_lib_umask0000_for_kolibri
|
when: usb_lib_umask0000_for_kolibri
|
||||||
|
|
||||||
# Setting 'umask=0000' for all filesystems: (accomplishes the same thing as above)
|
# Setting 'umask=0000' for all filesystems: (much the same thing as above, as
|
||||||
|
# the mount command does not use this umask setting for filesystems like ext4)
|
||||||
#- name: "Add ',umask=0000' to MOUNTOPTIONS var in /etc/usbmount/usbmount.conf, so Kolibri exports work"
|
#- name: "Add ',umask=0000' to MOUNTOPTIONS var in /etc/usbmount/usbmount.conf, so Kolibri exports work"
|
||||||
# lineinfile:
|
# lineinfile:
|
||||||
# regexp: '^MOUNTOPTIONS=.*'
|
# regexp: '^MOUNTOPTIONS=.*'
|
||||||
# line: 'MOUNTOPTIONS="sync,noexec,nodev,noatime,nodiratime,umask=0000"'
|
# line: 'MOUNTOPTIONS="sync,noexec,nodev,noatime,nodiratime,umask=0000"'
|
||||||
# path: /etc/usbmount/usbmount.conf
|
# path: /etc/usbmount/usbmount.conf
|
||||||
|
# when: usb_lib_umask0000_for_kolibri
|
||||||
|
|
||||||
|
- name: 'Set FS_MOUNTOPTIONS="" in /etc/usbmount/usbmount.conf, e.g. if Kolibri will not be used'
|
||||||
|
lineinfile:
|
||||||
|
regexp: '^FS_MOUNTOPTIONS=.*'
|
||||||
|
line: 'FS_MOUNTOPTIONS=""' # Restore apt pkg default, if runrole forced
|
||||||
|
path: /etc/usbmount/usbmount.conf
|
||||||
|
when: not usb_lib_umask0000_for_kolibri
|
||||||
|
|
||||||
|
# 2020-03-25: Consider removing this stanza & all of this role's Apache logic!
|
||||||
- name: Install /etc/{{ apache_conf_dir }}/content_dir.conf from template
|
- name: Install /etc/{{ apache_conf_dir }}/content_dir.conf from template
|
||||||
template:
|
template:
|
||||||
src: content_dir.conf
|
src: content_dir.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue