Merge "Disable pxe_tftp systemd services during upgrade"
This commit is contained in:
commit
d0b6fa9806
|
@ -104,6 +104,19 @@ outputs:
|
|||
name: xinetd
|
||||
state: restarted
|
||||
when: xinetd_active_result.rc == 0
|
||||
- name: Check if ironic_pxe_tftp is enabled
|
||||
command: systemctl is-enabled --quiet ironic_pxe_tftp
|
||||
ignore_errors: True
|
||||
register: ironic_pxe_tftp_enabled_result
|
||||
- name: Set fact ironic_pxe_tftp_enabled
|
||||
set_fact:
|
||||
ironic_pxe_tftp_enabled: "{{ ironic_pxe_tftp_enabled_result.rc == 0 }}"
|
||||
- name: Stop ironic_pxe_tftp service
|
||||
when:
|
||||
- step|int == 1
|
||||
- ironic_pxe_tftp_enabled_result|bool
|
||||
service: name=ironic_pxe_tftp state=stopped enabled=no
|
||||
|
||||
docker_config:
|
||||
step_4:
|
||||
ironic_pxe_tftp:
|
||||
|
|
Loading…
Reference in New Issue