Robert Kaussow
ffa258fcd7
All checks were successful
continuous-integration/drone/push Build is passing
23 lines
570 B
YAML
23 lines
570 B
YAML
---
|
|
- block:
|
|
- name: Create group '{{ matrix_group }}'
|
|
group:
|
|
name: "{{ matrix_group }}"
|
|
state: present
|
|
|
|
- name: Create user '{{ matrix_user }}'
|
|
user:
|
|
comment: matrix
|
|
name: "{{ matrix_user }}"
|
|
home: "{{ matrix_user_home }}"
|
|
group: "{{ matrix_group }}"
|
|
groups: "{{ matrix_extra_groups | join(',') }}"
|
|
|
|
- name: Install dependencies
|
|
package:
|
|
name: "{{ item }}"
|
|
state: present
|
|
loop: "{{ matrix_packages_extra + matrix_packages }}"
|
|
become: True
|
|
become_user: root
|