added debug info

This commit is contained in:
Gianmarco Pettinato 2021-12-25 17:42:41 +01:00
parent 7ba1c4ae5f
commit e2a7f5e610
1 changed files with 6 additions and 1 deletions

View File

@ -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