Skip to content

Commit

Permalink
Merge pull request #34 from singleplatform-eng/fix_ssh_keys_check_mode
Browse files Browse the repository at this point in the history
add ssh key path to fix check_mode issue
  • Loading branch information
Colin Hoglund authored Dec 5, 2016
2 parents f73d823 + 0eb58c8 commit e6aef6f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
tags: ['users','configuration']

- name: SSH keys
authorized_key: user="{{item.0.username}}" key="{{item.1}}"
authorized_key:
user: "{{item.0.username}}"
key: "{{item.1}}"
path: "/home/{{item.0.username}}/.ssh/authorized_keys"
with_subelements:
- "{{users}}"
- ssh_key
Expand Down

0 comments on commit e6aef6f

Please sign in to comment.