Feat(Songe): mod ssh connectin policy between every body

This commit is contained in:
2018-12-11 18:40:49 +01:00
parent 0dcf383e3b
commit b98264ea7d
4 changed files with 18 additions and 17 deletions

View File

@@ -25,7 +25,7 @@
- name: Add public key for deploy user
authorized_key:
user: "{{ item.username }}"
key: "{{ lookup('file', deploy_public_key) }}"
key: "{{ lookup('file', 'sshpubs/' + deploy_public_key) }}"
state: present
with_items: "{{ deploy_users }}"
register: add_identity_key