diff options
author | OpenShift Bot <eparis+openshiftbot@redhat.com> | 2017-09-01 16:59:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-01 16:59:13 -0400 |
commit | 42c508571e797f7e548753295b4bdcfb4e50f5fb (patch) | |
tree | 8639439367c4562e8215d755961953c99af7ed95 /roles/dns/tasks/main.yml | |
parent | b2ccb858cb675d7a30179d1a60e638e9e311a4d5 (diff) | |
parent | 0ae8e9804070a829b719b8141210f44d8d79f92c (diff) | |
download | openshift-42c508571e797f7e548753295b4bdcfb4e50f5fb.tar.gz openshift-42c508571e797f7e548753295b4bdcfb4e50f5fb.tar.bz2 openshift-42c508571e797f7e548753295b4bdcfb4e50f5fb.tar.xz openshift-42c508571e797f7e548753295b4bdcfb4e50f5fb.zip |
Merge pull request #5261 from mgugino-upstream-stage/remove-dns-openshift-facts
Merged by openshift-bot
Diffstat (limited to 'roles/dns/tasks/main.yml')
-rw-r--r-- | roles/dns/tasks/main.yml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/roles/dns/tasks/main.yml b/roles/dns/tasks/main.yml deleted file mode 100644 index c5ab53b4d..000000000 --- a/roles/dns/tasks/main.yml +++ /dev/null @@ -1,46 +0,0 @@ ---- -- name: Install Bind - package: name=bind state=present - when: not openshift.common.is_containerized | bool - -- name: Create docker build dir - file: path=/tmp/dockerbuild state=directory - when: openshift.common.is_containerized | bool - -- name: Install dockerfile - template: - dest: "/tmp/dockerbuild/Dockerfile" - src: Dockerfile - when: openshift.common.is_containerized | bool - -- name: Build Bind image - docker_image: path="/tmp/dockerbuild" name="bind" state=present - when: openshift.common.is_containerized | bool - -- name: Install bind service file - template: - dest: "/etc/systemd/system/named.service" - src: named.service.j2 - when: openshift.common.is_containerized | bool - -- name: Create bind zone dir - file: path=/var/named state=directory - when: openshift.common.is_containerized | bool - -- name: Configure Bind - template: - src: "{{ item.src }}" - dest: "{{ item.dest }}" - with_items: - - src: openshift-cluster.zone - dest: /var/named/openshift-cluster.zone - - src: named.conf - dest: /etc/named.conf - notify: restart bind - -- name: Enable Bind - systemd: - name: named - state: started - enabled: yes - daemon_reload: yes |