Robert Kaussow
35a031cf62
All checks were successful
continuous-integration/drone/push Build is passing
24 lines
547 B
YAML
24 lines
547 B
YAML
---
|
|
- block:
|
|
- name: Create group '{{ minio_group }}'
|
|
group:
|
|
name: "{{ minio_group }}"
|
|
state: present
|
|
|
|
- name: Create user '{{ minio_user }}'
|
|
user:
|
|
comment: minio
|
|
name: "{{ minio_user }}"
|
|
home: "{{ minio_user_home }}"
|
|
group: "{{ minio_group }}"
|
|
groups: "{{ minio_extra_groups | join(',') }}"
|
|
|
|
- name: Install dependencies
|
|
package:
|
|
name: "{{ item }}"
|
|
state: present
|
|
loop:
|
|
- "{{ minio_packages }}"
|
|
become: True
|
|
become_user: root
|