Skip to content

Commit

Permalink
copy authorized_key file to target
Browse files Browse the repository at this point in the history
  • Loading branch information
Modius22 committed Nov 29, 2017
1 parent 9d14647 commit 576f35a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions ssh/files/authorized_keys
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is a Test File
8 changes: 8 additions & 0 deletions ssh/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- name: Set authorized key took from file
- copy:
src: authorized_keys
dest: /root/.ssh/
owner: root
group: root
mode: 0644

0 comments on commit 576f35a

Please sign in to comment.