Molecule Testing, Idempotence - Enable linger, expect file via creates:
Gitea Actions - molecule test work / Explore-molecule-Gitea-Action (push) Failing after 1m12s
Gitea Actions - molecule test work / Explore-molecule-Gitea-Action (push) Failing after 1m12s
This commit is contained in:
1 parent
b414050a27
commit
b9c8a2e50a
1 file changed
+3
-3
+3
-3
@@ -37,8 +37,8 @@
|
||||
line: "session optional pam_systemd.so"
|
||||
|
||||
- name: Enable remote login session linger
|
||||
command:
|
||||
cmd: loginctl enable-linger "{{ item.name }}"
|
||||
command: "loginctl enable-linger {{ item.name }}"
|
||||
creates: "/var/lib/systemd/linger/{{ item.name }}"
|
||||
with_items:
|
||||
- "{{ service_users }}"
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
with_items:
|
||||
- "{{ service_users }}"
|
||||
|
||||
- name: Enable podman.socket for {{ service_users[0] }}
|
||||
- name: Enable podman.socket for service_users
|
||||
systemd:
|
||||
name: podman.socket
|
||||
enabled: true
|
||||
|
||||
Reference in new issue
Block a user