diff options
author | Michael Gugino <mgugino@redhat.com> | 2017-08-29 18:34:21 -0400 |
---|---|---|
committer | Michael Gugino <mgugino@redhat.com> | 2017-08-31 10:01:26 -0400 |
commit | 0ae8e9804070a829b719b8141210f44d8d79f92c (patch) | |
tree | 74a5cb5dfeb0aa01e5d2a11780859ec97b4f59bd /roles/dns/tasks | |
parent | 7faa0c4111252a2710166cdbd027575e1cf1cb8a (diff) | |
download | openshift-0ae8e9804070a829b719b8141210f44d8d79f92c.tar.gz openshift-0ae8e9804070a829b719b8141210f44d8d79f92c.tar.bz2 openshift-0ae8e9804070a829b719b8141210f44d8d79f92c.tar.xz openshift-0ae8e9804070a829b719b8141210f44d8d79f92c.zip |
Removed dns role
This commit removes now-unused dns role.
Diffstat (limited to 'roles/dns/tasks')
-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 |