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

8 lines
145 B
YAML
Raw Normal View History

2023-02-23 11:47:58 +00:00
---
- name: create nonroot user
user:
name: testuser
shell: /bin/bash
- name: enable linger
command: loginctl enable-linger testuser