summaryrefslogtreecommitdiffstats
path: root/roles/lib_utils/library/docker_creds.py
Commit message (Collapse)AuthorAgeFilesLines
* docker_creds: decode docker_config for py3 only if its a stringVadim Rutkovsky2018-01-301-1/+3
|
* docker_creds: fix python3 exceptionGiuseppe Scrivano2018-01-101-1/+1
| | | | | | | | Fixes: Object of type 'bytes' is not JSON serializable Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* docker_creds: fix python3 exceptionGiuseppe Scrivano2018-01-101-1/+1
| | | | | | | | Solves this exception with python3: TypeError: a bytes-like object is required, not 'str Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Alternative method to create docker registry auth credsMichael Gugino2017-11-141-0/+207
Currently, the command 'docker login' is run when using oreg with authentication. On some hosts, such as hosts configured to use system containers, the docker service is not running. 'docker login' will fail without the docker service running. This commit adds a module to idempotently add credentials to the registry credentials file without the use of 'docker login' Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1511374