xoxys.minio/tasks/prepare.yml
Robert Kaussow 35a031cf62
All checks were successful
continuous-integration/drone/push Build is passing
remove unused version stat
2020-11-23 22:07:12 +01:00

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