From a6cb5c9b09c1a958262fa71e4dea4f0886e958da Mon Sep 17 00:00:00 2001 From: Till! Date: Thu, 6 Dec 2018 12:45:08 +0100 Subject: [PATCH 1/2] Add become: yes to playbook example I noticed that the example doesn't include a hint that you need to be root. It's sort of obvious since the role attempts to create a minio user and group, but I figured I add it to make it easier for the next person. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 43a2a59..abc7cf4 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ None. - name: "Install Minio" hosts: all roles: - - atosatto.minio + - { role: atosatto.minio, become: yes } vars: minio_server_datadirs: [ "/minio-test" ] ``` From 5d38c204504ab5a2cfb859972d82a3336da3969f Mon Sep 17 00:00:00 2001 From: Till! Date: Tue, 28 May 2019 12:18:24 +0200 Subject: [PATCH 2/2] Update: become on playbook level --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index abc7cf4..9cf6ab8 100644 --- a/README.md +++ b/README.md @@ -114,8 +114,9 @@ None. ```yaml - name: "Install Minio" hosts: all + become: yes roles: - - { role: atosatto.minio, become: yes } + - { role: atosatto.minio } vars: minio_server_datadirs: [ "/minio-test" ] ```