We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 144cb6b + 51a302c commit 1d4da23Copy full SHA for 1d4da23
1 file changed
ansible/roles/container_start/tasks/main.yml
@@ -38,6 +38,12 @@
38
debug:
39
msg: starting this many containers -- {{ number_of_containers }}
40
41
+- name: login to registry
42
+ delegate_to: "{{ builder }}"
43
+ tags: deploy
44
+ become: yes
45
+ command: docker login -u {{ registry_username }} -p {{ registry_token }} -e "info@runnable.com" {{ registry_host }}
46
+
47
- name: start new container
48
delegate_to: "{{ builder }}"
49
tags: deploy
@@ -68,3 +74,9 @@
68
74
- remove all hosts from redis key
69
75
- put new hosts on redis keys
70
76
- stop old containers
77
78
+- name: logout of registry
79
80
81
82
+ command: docker logout {{ registry_host }}
0 commit comments