remove force handler
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2019-06-20 22:57:34 +02:00
parent 91a4813c0c
commit 6b9c1665ff
3 changed files with 3 additions and 7 deletions

View File

@ -5,7 +5,7 @@
async: 1
poll: 0
ignore_errors: true
when: not require_reboot
when: not require_reboot | bool
listen: __network_restart
- name: Reboot server
@ -13,7 +13,7 @@
async: 1
poll: 0
ignore_errors: true
when: require_reboot
when: require_reboot | bool
listen: __host_reboot
become: True
become_user: root

View File

@ -1,6 +1,5 @@
---
- name: Set flag require_reboot
set_fact:
require_reboot: "{{ true if network_fqdn != ansible_fqdn else false }}"
require_reboot: "{{ True if network_fqdn != ansible_fqdn else False }}"
- include_tasks: config.yml
- include_tasks: post_tasks.yml

View File

@ -1,3 +0,0 @@
---
- name: Force running handlers
meta: flush_handlers