More shufflin ¯\_(ツ)_/¯
This commit is contained in:
@ -12,16 +12,8 @@
|
||||
- name: Cleanup from any previous executions
|
||||
ansible.builtin.import_tasks: tasks/cleanup.yml
|
||||
|
||||
- name: Ensure service facts are available
|
||||
ansible.builtin.service_facts:
|
||||
|
||||
- name: Stop Docker service due to incompatibility
|
||||
ansible.builtin.service:
|
||||
name: "{{ bigboot_docker_service }}"
|
||||
state: stopped
|
||||
when:
|
||||
- ansible_facts['services'][bigboot_docker_service] is defined
|
||||
- ansible_facts['services'][bigboot_docker_service]['state'] == "running"
|
||||
- name: Stop Docker service if present and running
|
||||
ansible.builtin.import_tasks: tasks/stop_docker_service.yml
|
||||
|
||||
- name: Set boot device details
|
||||
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
|
||||
|
Reference in New Issue
Block a user