From 0d4a22e83d602df98ca0c0a9462ad79fc4e26cfa Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 22 Nov 2016 12:27:05 +0100 Subject: Make the role work on F25 Cloud On F24 and earlier, systemctl show always returned 0. On F25, it return 1 when a service do not exist, and thus the role fail on Fedora 25 cloud edition. --- roles/openshift_node_dnsmasq/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles') diff --git a/roles/openshift_node_dnsmasq/tasks/main.yml b/roles/openshift_node_dnsmasq/tasks/main.yml index 51820210d..0167b02b1 100644 --- a/roles/openshift_node_dnsmasq/tasks/main.yml +++ b/roles/openshift_node_dnsmasq/tasks/main.yml @@ -4,6 +4,7 @@ systemctl show NetworkManager register: nm_show changed_when: false + ignore_errors: True - name: Set fact using_network_manager set_fact: -- cgit v1.2.3