This update adds the required ansible task, templates, and variables to
enable a running voltha VM to push images to an insecure registry on a
server named vinstall. This is specifically to support the creation of
a voltha installer VM. This update is one of many to suppor the
installation of voltha without external network access. Ref Jira VOL-6.
Change-Id: I7c442f0af02e5f3d59a931ecb6fc5a0222e01585
diff --git a/ansible/roles/docker/tasks/debian.yml b/ansible/roles/docker/tasks/debian.yml
index 867c211..55d905c 100644
--- a/ansible/roles/docker/tasks/debian.yml
+++ b/ansible/roles/docker/tasks/debian.yml
@@ -37,6 +37,13 @@
register: copy_result
tags: [docker]
+- name: Enable insecure install registry
+ template:
+ src: "{{ docker_daemon_json }}"
+ dest: "{{ docker_daemon_json_dest }}"
+ register: copy_result
+ tags: [docker]
+
- name: Debian Daemon is reloaded
command: systemctl daemon-reload
when: copy_result|changed and is_systemd is defined