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
Some checks failed
Gitea Actions - molecule test work / Explore-molecule-Gitea-Action (push) Failing after 2m49s
This commit is contained in:
parent
991797cefa
commit
02b83fd18a
@ -37,7 +37,8 @@
|
|||||||
line: "session optional pam_systemd.so"
|
line: "session optional pam_systemd.so"
|
||||||
|
|
||||||
- name: Enable remote login session linger
|
- name: Enable remote login session linger
|
||||||
command: "loginctl enable-linger {{ item.name }}"
|
command:
|
||||||
|
cmd: "loginctl enable-linger {{ item.name }}"
|
||||||
creates: "/var/lib/systemd/linger/{{ item.name }}"
|
creates: "/var/lib/systemd/linger/{{ item.name }}"
|
||||||
with_items:
|
with_items:
|
||||||
- "{{ service_users }}"
|
- "{{ service_users }}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user