summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_dnsmasq/handlers
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-06-30 16:31:08 -0400
committerScott Dodson <sdodson@redhat.com>2016-07-01 09:52:08 -0400
commit31953e459c8cc4f8f819e05468e4fcbd13911237 (patch)
treec1894547804b1db6e413f5fdd1658d68c70c6419 /roles/openshift_node_dnsmasq/handlers
parent49b286608a060cdc5fca45008d01ac3c535ce314 (diff)
downloadopenshift-31953e459c8cc4f8f819e05468e4fcbd13911237.tar.gz
openshift-31953e459c8cc4f8f819e05468e4fcbd13911237.tar.bz2
openshift-31953e459c8cc4f8f819e05468e4fcbd13911237.tar.xz
openshift-31953e459c8cc4f8f819e05468e4fcbd13911237.zip
Add support for supplying a dnsmasq.conf file
Useful for POC environments where DNS may not actually be setup yet. Make sure you don't define anything that would conflict with the default configuration. You have been warned.
Diffstat (limited to 'roles/openshift_node_dnsmasq/handlers')
-rw-r--r--roles/openshift_node_dnsmasq/handlers/main.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/roles/openshift_node_dnsmasq/handlers/main.yml b/roles/openshift_node_dnsmasq/handlers/main.yml
index 7e9e4d299..7d43b6106 100644
--- a/roles/openshift_node_dnsmasq/handlers/main.yml
+++ b/roles/openshift_node_dnsmasq/handlers/main.yml
@@ -1,5 +1,10 @@
---
- name: restart NetworkManager
- service:
+ service:
name: NetworkManager
state: restarted
+
+- name: restart dnsmasq
+ service:
+ name: dnsmasq
+ state: restarted