mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-08-01 19:54:32 -07:00
Rework Molecule prepare phase to install sudo only if root on target
This commit is contained in:
parent
d74820190f
commit
d8286dfca7
2 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
hosts: all
|
hosts: all
|
||||||
|
become: yes
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install sudo
|
- name: Install sudo
|
||||||
ansible.builtin.yum:
|
ansible.builtin.yum:
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
hosts: all
|
hosts: all
|
||||||
|
become: yes
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install sudo
|
- name: Install sudo
|
||||||
ansible.builtin.yum:
|
ansible.builtin.yum:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue