aboutsummaryrefslogtreecommitdiffstats
path: root/roles/users/tasks/esmil.yml
blob: af74934f624b61a2ce0fafdaa6b81964a3e04307 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
- 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: