Skip to content

Commit

Permalink
Merge pull request #1 from yogo1212/failed_syntax
Browse files Browse the repository at this point in the history
[PT-2850] tasks/users: fix syntax in failed_when
  • Loading branch information
antonu17 authored Jan 21, 2019
2 parents 7c2dd14 + dba2ea0 commit 56ff49d
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 56ff49d

Please sign in to comment.