configure ssh for ansible user
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2022-11-11 17:49:55 +01:00
parent 7e4be72128
commit c834d84098

View File

@ -12,6 +12,7 @@
mode: 0700 mode: 0700
with_items: with_items:
- "{{user.name}}" - "{{user.name}}"
- ansible
- name: copy ssh config for user - name: copy ssh config for user
become: true become: true
@ -25,6 +26,7 @@
owner: "{{ item }}" owner: "{{ item }}"
with_items: with_items:
- "{{ user.name }}" - "{{ user.name }}"
- ansible
- name: ensure root ssh directory exist - name: ensure root ssh directory exist
become: true become: true
file: file: