unless-stopped
This commit is contained in:
@@ -235,7 +235,7 @@ The role can automatically generate systemd service files for containers and pod
|
|||||||
podman_systemd_options:
|
podman_systemd_options:
|
||||||
new: true # Generate new service files
|
new: true # Generate new service files
|
||||||
force: true # Overwrite existing files
|
force: true # Overwrite existing files
|
||||||
restart_policy: unless-stopped # Default restart policy
|
restart_policy: always # Default restart policy
|
||||||
time: 120 # Stop timeout in seconds
|
time: 120 # Stop timeout in seconds
|
||||||
no_header: false # Include header in service files
|
no_header: false # Include header in service files
|
||||||
wants: [] # Systemd unit Wants
|
wants: [] # Systemd unit Wants
|
||||||
|
|||||||
@@ -619,8 +619,8 @@ podman_systemd_dir: /etc/systemd/system
|
|||||||
podman_systemd_options:
|
podman_systemd_options:
|
||||||
new: true
|
new: true
|
||||||
force: true
|
force: true
|
||||||
restart_policy: unless-stopped
|
restart_policy: always
|
||||||
time: 120
|
stop_timeout: 120
|
||||||
no_header: false
|
no_header: false
|
||||||
separator: ""
|
separator: ""
|
||||||
wants: []
|
wants: []
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
new: "{{ podman_systemd_options.new }}"
|
new: "{{ podman_systemd_options.new }}"
|
||||||
force: "{{ podman_systemd_options.force }}"
|
force: "{{ podman_systemd_options.force }}"
|
||||||
restart_policy: "{{ item.systemd.restart_policy | default(podman_systemd_options.restart_policy) }}"
|
restart_policy: "{{ item.systemd.restart_policy | default(podman_systemd_options.restart_policy) }}"
|
||||||
time: "{{ item.systemd.time | default(podman_systemd_options.time) }}"
|
stop_timeout: "{{ item.systemd.stop_timeout | default(podman_systemd_options.stop_timeout) }}"
|
||||||
no_header: "{{ item.systemd.no_header | default(podman_systemd_options.no_header) }}"
|
no_header: "{{ item.systemd.no_header | default(podman_systemd_options.no_header) }}"
|
||||||
separator: "{{ item.systemd.separator | default(podman_systemd_options.separator) }}"
|
separator: "{{ item.systemd.separator | default(podman_systemd_options.separator) }}"
|
||||||
wants: "{{ item.systemd.wants | default(podman_systemd_options.wants) }}"
|
wants: "{{ item.systemd.wants | default(podman_systemd_options.wants) }}"
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
new: "{{ podman_systemd_options.new }}"
|
new: "{{ podman_systemd_options.new }}"
|
||||||
force: "{{ podman_systemd_options.force }}"
|
force: "{{ podman_systemd_options.force }}"
|
||||||
restart_policy: "{{ item.systemd.restart_policy | default(podman_systemd_options.restart_policy) }}"
|
restart_policy: "{{ item.systemd.restart_policy | default(podman_systemd_options.restart_policy) }}"
|
||||||
time: "{{ item.systemd.time | default(podman_systemd_options.time) }}"
|
stop_timeout: "{{ item.systemd.stop_timeout | default(podman_systemd_options.stop_timeout) }}"
|
||||||
no_header: "{{ item.systemd.no_header | default(podman_systemd_options.no_header) }}"
|
no_header: "{{ item.systemd.no_header | default(podman_systemd_options.no_header) }}"
|
||||||
separator: "{{ item.systemd.separator | default(podman_systemd_options.separator) }}"
|
separator: "{{ item.systemd.separator | default(podman_systemd_options.separator) }}"
|
||||||
wants: "{{ item.systemd.wants | default(podman_systemd_options.wants) }}"
|
wants: "{{ item.systemd.wants | default(podman_systemd_options.wants) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user