summaryrefslogtreecommitdiff
path: root/roles/ws/base/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ws/base/tasks/main.yml')
-rw-r--r--roles/ws/base/tasks/main.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/roles/ws/base/tasks/main.yml b/roles/ws/base/tasks/main.yml
index 9e3b55b8..75a753d8 100644
--- a/roles/ws/base/tasks/main.yml
+++ b/roles/ws/base/tasks/main.yml
@@ -1,4 +1,11 @@
---
+- name: create zfs dataset for /home
+ when: ws_base_home_zfs is defined
+ zfs:
+ name: "{{ ws_base_home_zfs.pool }}/{{ ws_base_home_zfs.name }}"
+ state: present
+ extra_zfs_properties: "{{ ws_base_home_zfs.properties | default({}) | combine({'mountpoint': '/home'}) }}"
+
- name: prohibited packages
loop:
- flashplugin-installer
@@ -78,5 +85,5 @@
- name: install extra packages
apt:
- name: "{{ ubuntu_ws_extra_packages }}"
+ name: "{{ ws_base_extra_packages }}"
state: present