summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMichael Scherer <misc@redhat.com>2016-11-22 12:27:05 +0100
committerMichael Scherer <misc@redhat.com>2016-11-22 14:04:52 +0100
commit0d4a22e83d602df98ca0c0a9462ad79fc4e26cfa (patch)
treeef3cd48743a80eedeb41df2fdd86ec51f451f14b /roles
parent4954982b72451f82bd40802b0bdf39379ad4bdf1 (diff)
downloadopenshift-0d4a22e83d602df98ca0c0a9462ad79fc4e26cfa.tar.gz
openshift-0d4a22e83d602df98ca0c0a9462ad79fc4e26cfa.tar.bz2
openshift-0d4a22e83d602df98ca0c0a9462ad79fc4e26cfa.tar.xz
openshift-0d4a22e83d602df98ca0c0a9462ad79fc4e26cfa.zip
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.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_node_dnsmasq/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
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: