infrastructure/ansible/roles/base/tasks/user.yml
Jake Howard 41915ec69c
Replace gitlab with gitea
Leave gitlab in place for a bit in case I need to get at data
2021-01-18 20:14:38 +00:00

14 lines
269 B
YAML

- name: Make me
user:
name: "{{ user }}"
home: "{{ home }}"
comment: "{{ name }}"
shell: /bin/bash
system: true
become: true
- name: Give user sudo access
lineinfile:
path: /etc/sudoers
line: "{{ user }} ALL=(ALL) ALL"
become: true