Skip to content

Commit

Permalink
Fix broken example for podman_generate_systemd (#708)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
dkcampbell authored Feb 4, 2024
1 parent 7031de6 commit efbfba7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/modules/podman_generate_systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@
- 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
Expand Down

0 comments on commit efbfba7

Please sign in to comment.