From 77ab9e2d5e9fdd9f83759426a89d973340d9cd11 Mon Sep 17 00:00:00 2001 From: Elijah Lazkani Date: Sat, 14 Jan 2017 20:10:12 -0500 Subject: [PATCH] Trying to run the unless in fish... --- salty/base/fish/init.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salty/base/fish/init.sls b/salty/base/fish/init.sls index b7eb403..a413384 100644 --- a/salty/base/fish/init.sls +++ b/salty/base/fish/init.sls @@ -17,7 +17,7 @@ install-oh-my-fish: - name: bin/install --offline --noninteractive - cwd: {{ grains.homedir }}/oh-my-fish - runas: {{ grains.user }} - - unless: test -d "$OMF_PATH" + - unless: fish -c "test -d \"$OMF_PATH\"" install-bira: cmd.run: