update to better validate the result of a command, forgot one
diff --git a/roles/compute-node/tasks/main.yml b/roles/compute-node/tasks/main.yml
index 2344cb0..14b3072 100644
--- a/roles/compute-node/tasks/main.yml
+++ b/roles/compute-node/tasks/main.yml
@@ -96,6 +96,6 @@
- name: Wait For Restart
local_action: wait_for port=22 host={{ inventory_hostname }} search_regex=OpenSSH delay=30 timeout=600 connect_timeout=15
- when: ifaces_changed.stdout != "false"
+ when: ifaces_changed.stdout.find("true") != -1
tags:
- interface_config