[CORD-2636]
Remove docker* roles that are obsolete/unused

Change-Id: Idd5fd2181666281f189d0c879107bd8b52e6a0df
diff --git a/ansible/roles/docker-compose/tasks/main.yml b/ansible/roles/docker-compose/tasks/main.yml
deleted file mode 100644
index 3a89f40..0000000
--- a/ansible/roles/docker-compose/tasks/main.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-# Copyright 2017-present Open Networking Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
----
-
-- name: docker-compose is present
-  become: yes
-  pip:
-    name: "docker-compose==1.15.0"
-    state: present
diff --git a/ansible/roles/docker/defaults/main.yml b/ansible/roles/docker/defaults/main.yml
deleted file mode 100644
index 014cc65..0000000
--- a/ansible/roles/docker/defaults/main.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-# Copyright 2017-present Open Networking Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-docker_extra: ""
-
-centos_files: [
-  { src: "docker.centos.repo", dest: "/etc/yum.repos.d/docker.repo" },
-  { src: "docker.centos.service", dest: "/lib/systemd/system/docker.service" },
-]
\ No newline at end of file
diff --git a/ansible/roles/docker/files/docker.centos.repo b/ansible/roles/docker/files/docker.centos.repo
deleted file mode 100644
index b472187..0000000
--- a/ansible/roles/docker/files/docker.centos.repo
+++ /dev/null
@@ -1,6 +0,0 @@
-[dockerrepo]
-name=Docker Repository
-baseurl=https://yum.dockerproject.org/repo/main/centos/7
-enabled=1
-gpgcheck=1
-gpgkey=https://yum.dockerproject.org/gpg
\ No newline at end of file
diff --git a/ansible/roles/docker/files/docker.centos.service b/ansible/roles/docker/files/docker.centos.service
deleted file mode 100644
index 3bbef84..0000000
--- a/ansible/roles/docker/files/docker.centos.service
+++ /dev/null
@@ -1,17 +0,0 @@
-[Unit]
-Description=Docker Application Container Engine
-Documentation=https://docs.docker.com
-After=network.target docker.socket
-Requires=docker.socket
-
-[Service]
-EnvironmentFile=-/etc/sysconfig/docker
-Type=notify
-ExecStart=/usr/bin/docker daemon --insecure-registry 10.100.198.200:5000 -H fd://
-MountFlags=slave
-LimitNOFILE=1048576
-LimitNPROC=1048576
-LimitCORE=infinity
-
-[Install]
-WantedBy=multi-user.target
diff --git a/ansible/roles/docker/files/docker_apt_key.gpg b/ansible/roles/docker/files/docker_apt_key.gpg
deleted file mode 100644
index 8e161dd..0000000
--- a/ansible/roles/docker/files/docker_apt_key.gpg
+++ /dev/null
@@ -1,63 +0,0 @@
------BEGIN PGP PUBLIC KEY BLOCK-----
-
-mQINBFit2ioBEADhWpZ8/wvZ6hUTiXOwQHXMAlaFHcPH9hAtr4F1y2+OYdbtMuth
-lqqwp028AqyY+PRfVMtSYMbjuQuu5byyKR01BbqYhuS3jtqQmljZ/bJvXqnmiVXh
-38UuLa+z077PxyxQhu5BbqntTPQMfiyqEiU+BKbq2WmANUKQf+1AmZY/IruOXbnq
-L4C1+gJ8vfmXQt99npCaxEjaNRVYfOS8QcixNzHUYnb6emjlANyEVlZzeqo7XKl7
-UrwV5inawTSzWNvtjEjj4nJL8NsLwscpLPQUhTQ+7BbQXAwAmeHCUTQIvvWXqw0N
-cmhh4HgeQscQHYgOJjjDVfoY5MucvglbIgCqfzAHW9jxmRL4qbMZj+b1XoePEtht
-ku4bIQN1X5P07fNWzlgaRL5Z4POXDDZTlIQ/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/LN3PoKtn8LPjY9NP9uDWI+TWYquS2U+KHDrBDlsgozDbs/O
-jCxcpDzNmXpWQHEtHU7649OXHP7UeNST1mCUCH5qdank0V1iejF6/CfTFU4MfcrG
-YT90qFF93M3v01BbxP+EIY2/9tiIPbrd
-=0YYh
------END PGP PUBLIC KEY BLOCK-----
-
diff --git a/ansible/roles/docker/handlers/main.yml b/ansible/roles/docker/handlers/main.yml
deleted file mode 100644
index d70e40e..0000000
--- a/ansible/roles/docker/handlers/main.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-# Copyright 2017-present Open Networking Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
----
-
-- name: docker-restart
-  service:
-    name: docker
-    state: restarted
-
diff --git a/ansible/roles/docker/tasks/centos.yml b/ansible/roles/docker/tasks/centos.yml
deleted file mode 100644
index beda680..0000000
--- a/ansible/roles/docker/tasks/centos.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-# Copyright 2017-present Open Networking Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-- name: CentOS files are copied
-  copy:
-    src: "{{ item.src }}"
-    dest: "{{ item.dest }}"
-  with_items: "{{ centos_files }}"
-  tags: [docker]
-
-- name: CentOS package is installed
-  yum:
-    name: docker-engine
-    state: present
-  tags: [docker]
-
-- name: CentOS Daemon is reloaded
-  command: systemctl daemon-reload
-  tags: [docker]
-  changed_when: true
-
-- name: CentOS service is running
-  service:
-    name: docker
-    state: running
-  tags: [docker]
-
diff --git a/ansible/roles/docker/tasks/debian.yml b/ansible/roles/docker/tasks/debian.yml
deleted file mode 100644
index 3a39bb9..0000000
--- a/ansible/roles/docker/tasks/debian.yml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-# Copyright 2017-present Open Networking Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
----
-
-- name: Trust docker apt key
-  apt_key:
-    data={{ lookup('file', 'docker_apt_key.gpg') }}
-
-- name: Debian add Docker repository and update apt cache
-  apt_repository:
-    repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
-    update_cache: yes
-    state: present
-  tags: [docker]
-
-- name: Install docker-ce using apt
-  apt:
-    name: docker-ce=17.06.*
-    force: yes
-  tags: [docker, skip_ansible_lint]
-
-- name: Debian python-pip is present
-  apt: name=python-pip state=present
-  tags: [docker]
-
-- name: docker python package present
-  pip:
-    name: "docker>=2.4.2"
-    state: present
-  tags: [docker]
-
-- name: Debian files are present
-  template:
-    src: "{{ docker_cfg }}"
-    dest: "{{ docker_cfg_dest }}"
-  tags: [docker]
-  notify:
-    - docker-restart
-
-- name: vagrant user is added to the docker group
-  user:
-    name: "{{ ansible_env['SUDO_USER'] }}"
-    group: docker
-  tags: [docker]
-  notify:
-    - docker-restart
diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml
deleted file mode 100644
index 03b0463..0000000
--- a/ansible/roles/docker/tasks/main.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-# Copyright 2017-present Open Networking Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-
-- include: debian.yml
-  when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
-
-- include: centos.yml
-  when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
diff --git a/ansible/roles/docker/templates/docker-swarm-master.service b/ansible/roles/docker/templates/docker-swarm-master.service
deleted file mode 100644
index 1ec64aa..0000000
--- a/ansible/roles/docker/templates/docker-swarm-master.service
+++ /dev/null
@@ -1,21 +0,0 @@
-[Unit]
-Description=Docker Application Container Engine
-Documentation=https://docs.docker.com
-After=network.target docker.socket
-Requires=docker.socket
-
-[Service]
-Type=notify
-ExecStart=/usr/bin/docker daemon -H fd:// \
-          --insecure-registry 10.100.198.200:5000 \
-          --registry-mirror=http://10.100.198.200:5001 \
-          --cluster-store=consul://{{ ip }}:8500/swarm \
-          --cluster-advertise={{ ip }}:2375 {{ docker_extra }}
-MountFlags=master
-LimitNOFILE=1048576
-LimitNPROC=1048576
-LimitCORE=infinity
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/ansible/roles/docker/templates/docker-swarm-node.service b/ansible/roles/docker/templates/docker-swarm-node.service
deleted file mode 100644
index 09f5141..0000000
--- a/ansible/roles/docker/templates/docker-swarm-node.service
+++ /dev/null
@@ -1,23 +0,0 @@
-[Unit]
-Description=Docker Application Container Engine
-Documentation=https://docs.docker.com
-After=network.target docker.socket
-Requires=docker.socket
-
-[Service]
-Type=notify
-ExecStart=/usr/bin/docker daemon -H fd:// \
-          -H tcp://0.0.0.0:2375 \
-          -H unix:///var/run/docker.sock \
-          --insecure-registry 10.100.198.200:5000 \
-          --registry-mirror=http://10.100.198.200:5001 \
-          --cluster-store=consul://{{ ip }}:8500/swarm \
-          --cluster-advertise={{ ip }}:2375 {{ docker_extra }}
-MountFlags=slave
-LimitNOFILE=1048576
-LimitNPROC=1048576
-LimitCORE=infinity
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/ansible/roles/docker/templates/docker.cfg b/ansible/roles/docker/templates/docker.cfg
deleted file mode 100644
index 60bc2d3..0000000
--- a/ansible/roles/docker/templates/docker.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-DOCKER_OPTS="$DOCKER_OPTS --insecure-registry 10.100.198.200:5000 -H unix:///var/run/docker.sock --registry-mirror=http://10.100.198.200:5001"
-DOCKER_OPTS="$DOCKER_OPTS --insecure-registry 10.100.198.201:5000"