Commit a431f92b authored by Pietsch, Martin's avatar Pietsch, Martin

bugfix: automatic reboot skipped on hosts of the development environment

parent 8e77577d
......@@ -49,13 +49,13 @@
loop_control:
loop_var: _container
- name: set upgrade results to variable system_upgrade_states
- name: set variable that controls the reboot of the host
set_fact:
system_upgrade_states: "{{ {inventory_hostname: upgraded} }}"
_freebsd_reboot: "{{ upgraded.host.state }}"
- name: set variable that controls the reboot of the host
- name: set upgrade results to variable system_upgrade_states
set_fact:
_freebsd_reboot: "{{ system_upgrade_states[inventory_hostname].host.state }}"
system_upgrade_states: "{{ {inventory_hostname: upgraded} }}"
when: system_upgrade_states is not defined
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment