summaryrefslogtreecommitdiffstats
path: root/roles/dns/defaults/main.yml
diff options
context:
space:
mode:
authorJan Provaznik <jprovazn@redhat.com>2016-03-31 10:57:30 +0200
committerJan Provaznik <jprovazn@redhat.com>2016-04-26 13:57:29 +0200
commitc76ae7d9398e3a04ded06c7e54811ad7a379921a (patch)
treeab357af1c7c0dec843279afdcd2c35974d6a5ec5 /roles/dns/defaults/main.yml
parent7c6d0d70e2371bd9abb6feb4e6c098ae4ddb5143 (diff)
downloadopenshift-c76ae7d9398e3a04ded06c7e54811ad7a379921a.tar.gz
openshift-c76ae7d9398e3a04ded06c7e54811ad7a379921a.tar.bz2
openshift-c76ae7d9398e3a04ded06c7e54811ad7a379921a.tar.xz
openshift-c76ae7d9398e3a04ded06c7e54811ad7a379921a.zip
Allow containerized deployment of dns role
If containerized, docker image for bind service is built during ansible run. The default named systemd unit file triggers named-checkconf on named service start so it's not neccessary to include this validation when copying file templates (equivalent named-checkconf is included in the containerized named unit file too).
Diffstat (limited to 'roles/dns/defaults/main.yml')
-rw-r--r--roles/dns/defaults/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/dns/defaults/main.yml b/roles/dns/defaults/main.yml
new file mode 100644
index 000000000..82055c8cd
--- /dev/null
+++ b/roles/dns/defaults/main.yml
@@ -0,0 +1,2 @@
+---
+base_docker_image: "{{ 'centos:centos7' if openshift.common.deployment_type == 'origin' else 'rhel7' }}"