From e2a7f5e610d620f5fdd555e7dd638edf3446986a Mon Sep 17 00:00:00 2001 From: Gianmarco Pettinato Date: Sat, 25 Dec 2021 17:42:41 +0100 Subject: [PATCH] added debug info --- local.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/local.yml b/local.yml index e0a0f5b..31d4faf 100644 --- a/local.yml +++ b/local.yml @@ -32,9 +32,14 @@ - name: check if on my zsh is installed stat: - path: /home/gianm/.oh-my-zsh + path: "/home/gianm/.oh-my-zsh" register: zsh_dir + - name: Install oh my zsh + debug: + msg: "skipping install oh my zsh" + when: zsh_dir.stat.exists + - name: Install oh my zsh become_user: gianm when: not zsh_dir.stat.exists