summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-06-30 17:16:18 -0400
committerScott Dodson <sdodson@redhat.com>2017-06-30 17:16:18 -0400
commit841cefdae64bf6e01ff85b3fcec3a12e6aeabf7e (patch)
treecfa80332d3677622a6508f07c7e1a26aa3b36537 /roles
parente20748de5b679c8a5747dd94b6603a97a64450ae (diff)
downloadopenshift-841cefdae64bf6e01ff85b3fcec3a12e6aeabf7e.tar.gz
openshift-841cefdae64bf6e01ff85b3fcec3a12e6aeabf7e.tar.bz2
openshift-841cefdae64bf6e01ff85b3fcec3a12e6aeabf7e.tar.xz
openshift-841cefdae64bf6e01ff85b3fcec3a12e6aeabf7e.zip
Fix upgrade
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_node_upgrade/tasks/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/openshift_node_upgrade/tasks/main.yml b/roles/openshift_node_upgrade/tasks/main.yml
index 8eaa68cc9..9807aa9a3 100644
--- a/roles/openshift_node_upgrade/tasks/main.yml
+++ b/roles/openshift_node_upgrade/tasks/main.yml
@@ -133,6 +133,17 @@
- ansible_selinux is defined
- ansible_selinux.status == 'enabled'
+- name: Apply 3.6 dns config changes
+ yedit:
+ src: /etc/origin/node/node-config.yaml
+ key: "{{ item.key }}"
+ value: "{{ item.value }}"
+ with_items:
+ - key: "dnsBindAddress"
+ value: "127.0.0.1:53"
+ - key: "dnsRecursiveResolvConf"
+ value: "/etc/origin/node/resolv.conf"
+
# Restart all services
- include: restart.yml