Skip to content

Commit

Permalink
Merge pull request #26 from yogo1212/failed_syntax
Browse files Browse the repository at this point in the history
tasks/users: fix syntax in failed_when
  • Loading branch information
ahelal authored Jan 21, 2019
2 parents 7c2dd14 + dba2ea0 commit e9ae542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
- "{{ usermanage_keys_with_items }}"
- keys
register: keyrc
failed_when: "'failed' in keyrc and 'getpwnam' not in keyrc.msg"
failed_when: "keyrc is failed and 'getpwnam' not in keyrc.msg"
when: cuser.key_db is defined

- name: users | Manage private key for users
Expand Down

0 comments on commit e9ae542

Please sign in to comment.