named-chroot initial fix
This commit is contained in:
@ -48,6 +48,14 @@
|
||||
- name: Ensure service facts are available
|
||||
ansible.builtin.service_facts:
|
||||
|
||||
- name: Restore named-chroot service to its pre-Bigboot state
|
||||
ansible.builtin.service:
|
||||
name: "{{ bigboot_named_chroot_service }}"
|
||||
state: "{{ bigboot_data[inventory_hostname]['bigboot_named_chroot_running'] }}"
|
||||
enabled: "{{ bigboot_data[inventory_hostname]['bigboot_named_chroot_enabled'] }}"
|
||||
when:
|
||||
- ansible_facts['services'][bigboot_named_chroot_service] is defined
|
||||
|
||||
- name: Restore Docker service to its pre-Bigboot state
|
||||
ansible.builtin.service:
|
||||
name: "{{ bigboot_docker_service }}"
|
||||
|
Reference in New Issue
Block a user