Merge "Add second fact to ensure type safty"
This commit is contained in:
commit
ee44e97440
@ -168,6 +168,14 @@ outputs:
|
||||
set_fact:
|
||||
container_registry_logins: "{{ container_registry_logins_json | from_json }}"
|
||||
when:
|
||||
- container_registry_logins_json is string
|
||||
- container_registry_login | bool
|
||||
- (container_registry_logins_json | length) > 0
|
||||
- name: Set registry logins
|
||||
set_fact:
|
||||
container_registry_logins: "{{ container_registry_logins_json }}"
|
||||
when:
|
||||
- container_registry_logins_json is mapping
|
||||
- container_registry_login | bool
|
||||
- (container_registry_logins_json | length) > 0
|
||||
- include_role:
|
||||
|
@ -90,6 +90,15 @@ outputs:
|
||||
set_fact:
|
||||
container_registry_logins: "{{ container_registry_logins_json | from_json }}"
|
||||
when:
|
||||
- container_registry_logins_json is string
|
||||
- container_registry_login | bool
|
||||
- (container_registry_logins_json | length) > 0
|
||||
|
||||
- name: Set registry logins
|
||||
set_fact:
|
||||
container_registry_logins: "{{ container_registry_logins_json }}"
|
||||
when:
|
||||
- container_registry_logins_json is mapping
|
||||
- container_registry_login | bool
|
||||
- (container_registry_logins_json | length) > 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user