Use podman command instead of collection
We don't provide RPM of Ansible Podman collections in OSP 16, so let's use a regular podman command. Depends-On: https://review.opendev.org/c/openstack/tripleo-quickstart/+/793098 Change-Id: I788ef39188a9a118531e61d3cee48ad3d8951c1f
This commit is contained in:
parent
7470f4389e
commit
d4baaf1a97
@ -18,27 +18,27 @@
|
|||||||
block:
|
block:
|
||||||
- name: 'Deploy the content provider registry from {{ container_registry_image }}'
|
- name: 'Deploy the content provider registry from {{ container_registry_image }}'
|
||||||
become: true
|
become: true
|
||||||
containers.podman.podman_container:
|
shell: >-
|
||||||
name: docker_registry
|
podman run
|
||||||
image: "{{ container_registry_image }}"
|
-d
|
||||||
publish:
|
--name docker_registry
|
||||||
- "{{ content_provider_registry_port }}:{{ content_provider_registry_port }}"
|
-p {{ content_provider_registry_port }}:{{ content_provider_registry_port }}
|
||||||
env:
|
-e REGISTRY_HTTP_ADDR="0.0.0.0:{{ content_provider_registry_port }}"
|
||||||
REGISTRY_HTTP_ADDR: "0.0.0.0:{{ content_provider_registry_port }}"
|
-e REGISTRY_LOG_LEVEL=debug
|
||||||
REGISTRY_LOG_LEVEL: debug
|
{{ container_registry_image }}
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
rescue:
|
rescue:
|
||||||
- name: "Deploy the content provider registry from {{ container_registry_image_fallback }}"
|
- name: "Deploy the content provider registry from {{ container_registry_image_fallback }}"
|
||||||
become: true
|
become: true
|
||||||
containers.podman.podman_container:
|
shell: >-
|
||||||
name: docker_registry
|
podman run
|
||||||
image: "{{ container_registry_image_fallback }}"
|
-d
|
||||||
publish:
|
--name docker_registry
|
||||||
- "{{ content_provider_registry_port }}:{{ content_provider_registry_port }}"
|
-p {{ content_provider_registry_port }}:{{ content_provider_registry_port }}
|
||||||
env:
|
-e REGISTRY_HTTP_ADDR="0.0.0.0:{{ content_provider_registry_port }}"
|
||||||
REGISTRY_HTTP_ADDR: "0.0.0.0:{{ content_provider_registry_port }}"
|
-e REGISTRY_LOG_LEVEL=debug
|
||||||
REGISTRY_LOG_LEVEL: debug
|
{{ container_registry_image_fallback }}
|
||||||
tags:
|
tags:
|
||||||
- skip_ansible_lint
|
- skip_ansible_lint
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user