summaryrefslogtreecommitdiff
path: root/worker-vmdb2.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-04-08 20:07:56 +0300
committerLars Wirzenius <liw@liw.fi>2020-04-08 20:07:56 +0300
commit21b4d58d6027241b568470184d2b7c6577d7b014 (patch)
tree7f14a7d1755f13f1298d36f5c1da427e058f318f /worker-vmdb2.yml
parent2ca33b8ab15dfb0ba653e2af2c19c994b618ad52 (diff)
downloadick-contractor-21b4d58d6027241b568470184d2b7c6577d7b014.tar.gz
Change: mkfs the workspace disk when starting worker
Diffstat (limited to 'worker-vmdb2.yml')
-rw-r--r--worker-vmdb2.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/worker-vmdb2.yml b/worker-vmdb2.yml
index 372271b..0dcabcf 100644
--- a/worker-vmdb2.yml
+++ b/worker-vmdb2.yml
@@ -77,6 +77,10 @@
owner: root
group: root
mode: 0600
+ - lineinfile:
+ path: /etc/fstab
+ regexp: '^/dev/vdb'
+ line: '/dev/vdb /workspace ext4 defaults 0 2'
vars:
host: worker
ansible_python_interpreter: /usr/bin/python3