configure ssh for ansible user
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
7e4be72128
commit
c834d84098
@ -12,6 +12,7 @@
|
||||
mode: 0700
|
||||
with_items:
|
||||
- "{{user.name}}"
|
||||
- ansible
|
||||
|
||||
- name: copy ssh config for user
|
||||
become: true
|
||||
@ -25,6 +26,7 @@
|
||||
owner: "{{ item }}"
|
||||
with_items:
|
||||
- "{{ user.name }}"
|
||||
- ansible
|
||||
- name: ensure root ssh directory exist
|
||||
become: true
|
||||
file:
|
||||
|
Loading…
Reference in New Issue
Block a user