role-gitea/tasks/create_user.yml

14 lines
287 B
YAML
Raw Normal View History

2022-12-10 20:12:07 +00:00
---
- name: "Create Gitea Group"
group:
name: "{{ gitea_group }}"
system: true
state: "present"
- name: "Create Gitea user"
ansible.builtin.user:
name: "{{ gitea_user }}"
comment: "Gitea user"
home: "{{ gitea_home }}"
shell: "/bin/false"
system: true