Molecule Testing, Idempotence - Enable linger, expect file via creates:, syntax debugging
Some checks failed
Gitea Actions - molecule test work / Explore-molecule-Gitea-Action (push) Failing after 2m49s

This commit is contained in:
Mike Holloway 2025-01-04 21:47:47 -05:00
parent 991797cefa
commit 02b83fd18a

View File

@ -37,8 +37,9 @@
line: "session optional pam_systemd.so"
- name: Enable remote login session linger
command: "loginctl enable-linger {{ item.name }}"
creates: "/var/lib/systemd/linger/{{ item.name }}"
command:
cmd: "loginctl enable-linger {{ item.name }}"
creates: "/var/lib/systemd/linger/{{ item.name }}"
with_items:
- "{{ service_users }}"