1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_etebase.git synced 2024-08-16 10:19:52 +02:00
ansible_role_etebase/tasks/create_user.yml
2022-11-10 18:36:02 +01:00

18 lines
450 B
YAML

---
- name: "Create EteBase Group"
become: true
ansible.builtin.group:
name: "{{ etebase__group }}"
system: true
state: "present"
- name: "Create Etebase User"
become: true
ansible.builtin.user:
name: "{{ etebase__user }}"
comment: "Etebase User"
group: "{{ etebase__group }}"
groups: "{{ etebase__groups | default(omit) }}"
home: "{{ etebase__user_home }}"
shell: "{{ etebase__shell }}"
system: true