remove destructive behaviour by never restarting docker, only reloads
All checks were successful
test / Linting (push) Successful in 36s
test / Molecule tests (default, debian12) (push) Successful in 1m51s
test / Molecule tests (default, debian11) (push) Successful in 2m17s
test / Molecule tests (default, ubuntu2004) (push) Successful in 2m29s
test / Molecule tests (default, ubuntu2204) (push) Successful in 2m0s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m44s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m55s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 2m6s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 2m17s
All checks were successful
test / Linting (push) Successful in 36s
test / Molecule tests (default, debian12) (push) Successful in 1m51s
test / Molecule tests (default, debian11) (push) Successful in 2m17s
test / Molecule tests (default, ubuntu2004) (push) Successful in 2m29s
test / Molecule tests (default, ubuntu2204) (push) Successful in 2m0s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m44s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m55s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 2m6s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 2m17s
This commit is contained in:
parent
29abb1dadf
commit
ad984efa64
@ -6,9 +6,8 @@
|
||||
enabled: true
|
||||
listen: "systemctl-enable-docker"
|
||||
|
||||
- name: "Start docker service"
|
||||
- name: "Reload docker service"
|
||||
ansible.builtin.service:
|
||||
name: docker
|
||||
state: restarted
|
||||
listen: "systemctl-restart-docker"
|
||||
when: install_docker_start_service
|
||||
state: reloaded
|
||||
listen: "systemctl-reload-docker"
|
||||
|
@ -16,4 +16,4 @@
|
||||
mode: '0644'
|
||||
notify:
|
||||
- "systemctl-enable-docker"
|
||||
- "systemctl-restart-docker"
|
||||
- "systemctl-reload-docker"
|
||||
|
@ -16,3 +16,9 @@
|
||||
|
||||
- name: "Import configure.yml"
|
||||
ansible.builtin.include_tasks: configure.yml
|
||||
|
||||
- name: "Start docker service"
|
||||
ansible.builtin.service:
|
||||
name: docker
|
||||
state: started
|
||||
when: install_docker_start_service
|
||||
|
Loading…
Reference in New Issue
Block a user