ansible-role-k3s/molecule/default/prepare-rootless.yml
Xan Manning f2a3f75f08 Added some validation steps, fixed issue with checksum, introducing rootless
as an option, however this is experimental in both K3s and this role.
2019-12-22 18:54:25 +00:00

22 lines
433 B
YAML

---
- name: Prepare
hosts: all
become: true
tasks:
- name: Ensure a user group exists
group:
name: user
state: present
- name: Ensure a normal user exists
user:
name: k3suser
group: user
state: present
- name: Ensure a normal user has bin directory
file:
path: /home/k3suser/bin
state: directory
owner: k3suser
group: user