1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Fix broken example for podman_generate_systemd (#708)

Change the postgres_local example to use the scope of "user" so
the unit file saved to ~/.config/systemd/user/ will be used by systemd.

Signed-off-by: Dan Campbell <dan@compiledworks.com>
This commit is contained in:
Dan Campbell 2024-02-04 03:58:28 -06:00 committed by GitHub
parent 7031de6a6b
commit efbfba7c3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -183,6 +183,7 @@ EXAMPLES = '''
- name: Postgres container must be started and enabled on systemd
ansible.builtin.systemd:
name: container-postgres_local
scope: user
daemon_reload: true
state: started
enabled: true