Browse Source

Merge branch 'fix/10_logueo_en_registry_inexistente' of ansible-roles/deploy-docker into master

master
drymer 1 year ago
parent
commit
c09c79b7a4
2 changed files with 3 additions and 2 deletions
  1. 0
    1
      defaults/main.yml
  2. 3
    1
      tasks/main.yml

+ 0
- 1
defaults/main.yml View File

@@ -6,7 +6,6 @@ git_repository_tag:
6 6
 service_name:
7 7
 service_name_prefix:
8 8
 docker_registry:
9
-docker_registry_url:
10 9
 docker_registry_read:
11 10
 registry_user:
12 11
 registry_password:

+ 3
- 1
tasks/main.yml View File

@@ -5,7 +5,9 @@
5 5
     registry: "{{ docker_registry }}"
6 6
     username: "{{ registry_user }}"
7 7
     password: "{{ registry_password }}"
8
-  when: remote_build == False
8
+  when:
9
+    - remote_build == False
10
+    - docker_registry_url is defined
9 11
 
10 12
 - name: Clone git repository
11 13
   local_action:

Loading…
Cancel
Save