Skip to content

Commit 66a5c50

Browse files
committed
Revert "Not becoming root for configuration tasks"
This reverts commit 6953d22.
1 parent 07dce95 commit 66a5c50

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

molecule/default/converge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
- name: Converge
33
hosts: all
4+
become: true
45
gather_facts: true
56
roles:
67
- role: ricsanfre.minio

molecule/tls/converge.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
- name: Converge
33
hosts: all
4+
become: true
45
gather_facts: true
56
vars:
67
server_hostname: minio.picluster.ricsanfre.com
@@ -13,7 +14,7 @@
1314
args:
1415
apply:
1516
delegate_to: localhost
16-
17+
become: false
1718
- name: Load tls key and cert
1819
set_fact:
1920
minio_key: "{{ lookup('file','certificates/' + inventory_hostname + '_private.key') }}"

tasks/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,10 @@
22
# Install Minio Server
33
- include_tasks: install_server.yml
44
when: minio_install_server
5-
args:
6-
apply:
7-
become: true
85

96
# Install Minio Client
107
- include_tasks: install_client.yml
118
when: minio_install_client
12-
args:
13-
apply:
14-
become: true
159

1610
# Add local minio server to Minio client
1711
- include_tasks: configure_server.yml

0 commit comments

Comments
 (0)