container-tools/tests/roles/nonroot_user/tasks/main.yml

8 lines
145 B
YAML
Raw Normal View History

2022-08-08 16:27:03 +00:00
---
- name: create nonroot user
user:
name: testuser
shell: /bin/bash
- name: enable linger
command: loginctl enable-linger testuser