diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml index a330053..ef9edf2 100644 --- a/tasks/dotfiles.yml +++ b/tasks/dotfiles.yml @@ -89,6 +89,14 @@ group: "{{ item.group }}" with_items: "{{ me }}" +- name: Copy ssh user config + template: + src: files/dotfiles/sshconfig + dest: /home/{{ item.username }}/.ssh/config + owner: "{{ item.username }}" + group: "{{ item.group }}" + with_items: "{{ deploy_users }}" + - name: Copy ssh user config template: src: files/dotfiles/sshconfig @@ -104,4 +112,3 @@ owner: "{{ item.username }}" group: "{{ item.group }}" with_items: "{{ me }}" - diff --git a/tasks/users.yml b/tasks/users.yml index 05538d7..119fa8f 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -19,4 +19,3 @@ shell: "{{ prompt_place['stdout'] }}" state: present with_items: "{{ me }}" - when: not minimal or not server