xoxys.minio/tasks/prepare.yml

24 lines
547 B
YAML
Raw Permalink Normal View History

2020-05-19 08:18:29 +00:00
---
- 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