This commit is contained in:
2024-07-19 21:46:18 -04:00
parent 58ffce84ed
commit eb2e9eb4ae
4 changed files with 16 additions and 6 deletions

View File

@ -74,11 +74,16 @@
when:
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool
- name: Get the list of services on the host
ansible.builtin.service_facts:
- name: Re-enabling Docker service
ansible.builtin.service:
name: docker.service
state: started
enabled: true
when:
- "'docker.service' in ansible_facts['services']"
- name: Re-enabling services previously disabled
ansible.builtin.service: