Copy .docker/config.json in kubelet location
owner: root
group: root
+- name: create the /var/lib/origin/.docker directory
+ file:
+ state: directory
+ path: /var/lib/origin/.docker
+ mode: "0740"
+ owner: root
+ group: root
+
+- name: copy docker config.json to shared origin .docker dir
+ copy:
+ remote_src: true
+ src: /opt/secrets/docker-config.json
+ dest: /var/lib/origin/.docker/config.json
+ owner: root
+ group: root
+
# Note: The next 3 tasks are trying to work around https://bugzilla.redhat.com/show_bug.cgi?id=1592503
# When this bug is closed, these should be removed
- name: DNS lookup the docker registry ip
