summaryrefslogtreecommitdiff
path: root/worker.yml
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-04-16 09:17:18 +0300
committerLars Wirzenius <liw@liw.fi>2020-04-17 21:27:06 +0300
commit6c18d9fca73165b75d61f9ce873ead23d5ad425d (patch)
treea8e691b3139abdfe9d2b60c1caec69e3cd417b3e /worker.yml
parentb4ab447f0e86b06b898018701c1fbd8a568fc850 (diff)
downloadick-contractor-6c18d9fca73165b75d61f9ce873ead23d5ad425d.tar.gz
Add: abstract running commands over SSH; reduce SSH calls
This speeds up a no-op test from about 50 seconds to 30 seconds on my laptop.
Diffstat (limited to 'worker.yml')
-rw-r--r--worker.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/worker.yml b/worker.yml
index 378d0b1..7551a56 100644
--- a/worker.yml
+++ b/worker.yml
@@ -45,10 +45,10 @@
- file:
state: directory
path: /workspace
- - lineinfile:
- path: /etc/fstab
- regexp: '^/dev/vdb'
- line: '/dev/vdb /workspace ext4 defaults 0 2'
+ # - lineinfile:
+ # path: /etc/fstab
+ # regexp: '^/dev/vdb'
+ # line: '/dev/vdb /workspace ext4 defaults 0 2'
vars:
host: worker
ansible_python_interpreter: /usr/bin/python3