summaryrefslogtreecommitdiff
path: root/roles/ws/base/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-12-23 15:43:07 +0100
committerChristian Pointner <equinox@spreadspace.org>2020-12-27 19:41:37 +0100
commit774f14cca2677b25047ccc17313acc53734bccde (patch)
treeb0aff6577cfa7298cf267a069b99cbdb2c6984c3 /roles/ws/base/tasks/main.yml
parentws/base: allow configuration of lightdm (diff)
ws/base some more bits and pieces
Diffstat (limited to 'roles/ws/base/tasks/main.yml')
-rw-r--r--roles/ws/base/tasks/main.yml24
1 files changed, 19 insertions, 5 deletions
diff --git a/roles/ws/base/tasks/main.yml b/roles/ws/base/tasks/main.yml
index 579df707..6e96eff8 100644
--- a/roles/ws/base/tasks/main.yml
+++ b/roles/ws/base/tasks/main.yml
@@ -6,6 +6,24 @@
state: present
extra_zfs_properties: "{{ ws_base_home_zfs.properties | default({}) | combine({'mountpoint': '/home'}) }}"
+- name: hide ntfs disks
+ when: ws_base_hide_ntfs_disks is defined
+ import_tasks: hide-ntfs-disks.yml
+
+- name: configure cleanup of /tmp
+ when: ws_base_cleanup_tmp is defined
+ copy:
+ dest: /etc/tmpfiles.d/00_tmp-override.conf
+ content: |
+ d /tmp/ 1777 root root {{ ws_base_cleanup_tmp }}
+
+- name: reset cleanup of /tmp to default
+ when: ws_base_cleanup_tmp is not defined
+ file:
+ path: /etc/tmpfiles.d/00_tmp-override.conf
+ state: absent
+
+
- name: prohibited packages
loop:
- flashplugin-installer
@@ -69,15 +87,11 @@
name: /etc/netplan/01-network-manager-all.yaml
state: absent
+
- name: install extra packages
apt:
name: "{{ ws_base_extra_packages }}"
state: present
-
-- name: hide ntfs disks
- when: ws_base_hide_ntfs_disks is defined
- import_tasks: hide-ntfs-disks.yml
-
- name: configure lightdm
import_tasks: lightdm.yml