23 lines
480 B
YAML
23 lines
480 B
YAML
|
---
|
||
|
- name: Create gerrit group
|
||
|
ansible.builtin.group:
|
||
|
name: "{{ gerrit_group }}"
|
||
|
state: present
|
||
|
|
||
|
- name: Create gerrit user
|
||
|
ansible.builtin.user:
|
||
|
name: "{{ gerrit_user }}"
|
||
|
group: "{{ gerrit_group }}"
|
||
|
state: present
|
||
|
|
||
|
- name: Create gerrit directories
|
||
|
ansible.builtin.file:
|
||
|
path: "{{ item }}"
|
||
|
owner: "{{ gerrit_user }}"
|
||
|
group: "{{ gerrit_group }}"
|
||
|
mode: "0755"
|
||
|
state: directory
|
||
|
recurse: true
|
||
|
loop: "{{ gerrit_directories }}"
|
||
|
...
|