We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53efadb commit 01e3426Copy full SHA for 01e3426
playbooks/oc-cluster-user.yml
@@ -14,5 +14,5 @@
14
line: "{{ user }} ALL=(ALL) NOPASSWD: ALL"
15
validate: /usr/sbin/visudo -cf %s
16
- name: Enable lingering for user
17
- ansible.builtin.command: "loginctl enable-linger {{ user }}"
+ ansible.builtin.command: "mkdir -p /var/lib/systemd/linger/ && touch /var/lib/systemd/linger/{{ user }}"
18
changed_when: False
0 commit comments