Skip to content

Commit fc07e36

Browse files
committed
Fixed static analysis error (possibly a bug in Ansible?)
1 parent cc4d314 commit fc07e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/user.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
- name: Configure ZSH
5757
include: zsh.yaml
58-
when: "'zsh' in user_shell"
58+
when: "'zsh' in (user.shell | default('/bin/zsh'))"
5959

6060
- name: Configure SSH daemon
6161
include: ssh-daemon.yaml

0 commit comments

Comments
 (0)