diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-04-16 09:17:18 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-04-17 21:27:06 +0300 |
commit | 6c18d9fca73165b75d61f9ce873ead23d5ad425d (patch) | |
tree | a8e691b3139abdfe9d2b60c1caec69e3cd417b3e /worker.yml | |
parent | b4ab447f0e86b06b898018701c1fbd8a568fc850 (diff) | |
download | ick-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.yml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |