Skip to content
Snippets Groups Projects
Commit 69bf86dc authored by Thomas Schneider's avatar Thomas Schneider
Browse files

basic-system: Allow overriding /tmp mount options

Also, add 'nodev' while we’re at it.
parent 7512d080
1 merge request!18basic-system: Allow overriding /tmp mount options
Pipeline #3375 passed
...@@ -10,3 +10,8 @@ journal_persistent_with_package: true ...@@ -10,3 +10,8 @@ journal_persistent_with_package: true
logrotate_period: 'daily' # 'weekly' is newer default logrotate_period: 'daily' # 'weekly' is newer default
logrotate_backlogs: 7 # default is 7 for daily, 4 for weekly logrotate_backlogs: 7 # default is 7 for daily, 4 for weekly
common_sysctl_file: '/etc/sysctl.conf' common_sysctl_file: '/etc/sysctl.conf'
tmp_mount_options:
- rw
- nosuid
- nodev
- noexec
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
name: /tmp name: /tmp
src: tmpfs src: tmpfs
fstype: tmpfs fstype: tmpfs
opts: nosuid,rw,noexec opts: "{{ tmp_mount_options|join(',') }}"
state: mounted state: mounted
tags: tags:
- mount - mount
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment