summaryrefslogtreecommitdiff
path: root/worker.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-04-09 11:06:50 +0300
committerLars Wirzenius <liw@liw.fi>2020-04-09 11:06:50 +0300
commit95625472c0cda297413cdb9fb2294c73f0e909da (patch)
tree0b3b07c9ba94553008880c2aaf80b1126e8394fb /worker.yml
parent072e8f1277ec5de91d49f7a855cd7e2ae09f2962 (diff)
downloadick-contractor-95625472c0cda297413cdb9fb2294c73f0e909da.tar.gz
Change: upload workspace
Diffstat (limited to 'worker.yml')
-rw-r--r--worker.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/worker.yml b/worker.yml
index 7ca5959..ce91cec 100644
--- a/worker.yml
+++ b/worker.yml
@@ -41,6 +41,13 @@
owner: root
group: root
mode: 0600
+ - file:
+ state: directory
+ path: /workspace
+ - lineinfile:
+ path: /etc/fstab
+ regexp: '^/dev/vdb'
+ line: '/dev/vdb /workspace ext4 defaults 0 2'
vars:
host: worker
ansible_python_interpreter: /usr/bin/python3