2023-12-03 14:39:24 +00:00
|
|
|
---
|
|
|
|
# task/main file for docker_systemd_service
|
2023-12-03 21:56:21 +00:00
|
|
|
- name: Load distro-specific vars
|
|
|
|
include_vars: "{{ ansible_os_family }}.yml"
|
|
|
|
tags: always
|
|
|
|
|
|
|
|
- include_tasks: install.yml
|
|
|
|
when: service_state != "absent"
|
|
|
|
- include_tasks: uninstall.yml
|
|
|
|
when: service_state == "absent"
|