- ---
- - set_fact: _option_images="--images={{ openshift_registry_url|quote }}"
- when: openshift_registry_url is defined
- - name: Deploy OpenShift Docker Registry
- command: openshift admin registry --create --credentials="{{ansible_env['HOME']}}"/.config/openshift/config {{ _option_images|default() }}
- register: _openshift_docker_registry__results
- changed_when: "'service exists' not in _openshift_docker_registry__results.stdout"
|