aboutsummaryrefslogblamecommitdiffstats
path: root/roles/users/tasks/esmil.yml
blob: af74934f624b61a2ce0fafdaa6b81964a3e04307 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                   
                      
             

                
                        





                                                                                                        












                              
                        
---
- name: esmil
  user:
    comment: 'Emil Renner Berthing'
    name: esmil
    shell: '/bin/bash'
    uid: 2000
    group: users
    groups:
    - '{{ sudo_group }}'

- name: esmil - authorized_keys
  authorized_key:
    user: esmil
    key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEUS/4G4YgI7LeJll8BUHCcdkCK3klSxzhqEY3X2df5+ esmil@stitch'

- name: esmil - copy dotfiles
  copy:
    dest: '~esmil/.{{ item }}'
    src: 'esmil/{{ item }}'
    owner: esmil
    group: users
    mode: 0644
  with_items:
  - bash_profile
  - bashrc
  - bashrc_root
  - gitconfig

# vim: set ts=2 sw=2 et: