Skip to content
Snippets Groups Projects
Commit 16cbe472 authored by ale's avatar ale
Browse files

Run "docker login" in check mode

parent 9c0dab13
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
- name: Login to the Docker registry - name: Login to the Docker registry
shell: 'echo -n "{{ docker_registry_password }}" | {{ container_runtime }} login -u "{{ docker_registry_username }}" --password-stdin "{{ docker_registry_url }}"' shell: 'echo -n "{{ docker_registry_password }}" | {{ container_runtime }} login -u "{{ docker_registry_username }}" --password-stdin "{{ docker_registry_url }}"'
changed_when: False changed_when: false
check_mode: no
when: "docker_registry_url != ''" when: "docker_registry_url != ''"
- name: Install docker-related scripts - name: Install docker-related scripts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment