fix syntax
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-09-18 13:45:56 +02:00
parent 73a29b0619
commit 82034b0a34
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -1,7 +1,7 @@
---
- name: Set flag require_reboot
set_fact:
require_reboot: "{{ True if (network_fqdn != ansible_fqdn and network_reboot_enabled == True) else False }}"
require_reboot: "{{ True if (network_fqdn != ansible_fqdn and network_reboot_enabled | bool) else False }}"
- block:
- name: Set hostname