Hi,
> Luckily I found a code that caused this
> behaviour:
> https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/docker/docker_login.py#L318.
> The "password" is of type "string". Then I changed "type='str'" to
> "type='json'" in my local file and everything worked!
that's
I am trying to log into private docker container registry and I need to use
a json-string as a password. So I do the following
docker_login:
registry: cr.yandex
username: json_key
password: "{{ lookup('file', 'key.json') }}"
reauthorize: yes
And I got an error "Get https://cr.yandex/v2/: