570c886faa
CI is failing with conflictiong dependencies: The conflict is caused by: molecule[test] 3.2.4 depends on pluggy<1.0 and >=0.7.1 molecule[test] 3.2.3 depends on pluggy<1.0 and >=0.7.1 molecule[test] 3.2.2 depends on pluggy<1.0 and >=0.7.1 molecule[test] 3.2.1 depends on pluggy<1.0 and >=0.7.1 molecule[test] 3.2.0 depends on pluggy<1.0 and >=0.7.1 molecule[test] 3.2.0a2 depends on pluggy<1.0 and >=0.7.1 molecule[test] 3.2.0a1 depends on pluggy<1.0 and >=0.7.1 The user requested (constraint) pluggy===1.0.0 Let's try to use molecule[test] 3.5.x Also set 'role_name' and 'namespace' in meta/main.yaml for all roles. Namespace cannot container uppercase characters, so computing fully qualified role name using author 'OpenStack' does not work. Also - fix tests in tripleo_overcloud_node_discover Closes-Bug: #1943269 Change-Id: I1ab9764dd4d24c17c5ee2cb1f26fbc3c4b27d3d7 |
||
---|---|---|
.. | ||
defaults | ||
meta | ||
molecule/default | ||
tasks | ||
tests | ||
README.md |
tripleo_container_image_show
A role to perform the container image show against a registry.
Requirements
None.
Role Variables
tripleo_container_image_show_debug
: (Boolean) Flag to print out the show command. Default: Falsetripleo_container_image_show_format
: (String) The format that the output will be in. By default we specify 'json' so that the output will be parsed in ansible. Default: jsontripleo_container_image_show_image
: (String) Image to fetch the detailstripleo_container_image_show_password
: (String) Password for the registrytripleo_container_image_show_username
: (String) Username for the registry
Output Variables
tripleo_container_image_show_output
: (Dictionary|String) If tripleo_container_image_show_format is json, the results will automatically be parsed and a dictionary is returned. If another format is used then this will be the response in String format.tripleo_container_image_show_result
: Ansible shell execution results
Dependencies
None.
Example Playbook
Example container show execution playbook
- hosts: undercloud
gather_facts: true
tasks:
- name: List containers
import_role:
name: tripleo_container_image_show
vars:
tripleo_container_image_show_image: docker.io/library/centos:7
- name: Print containers
debug:
var: tripleo_container_image_show_output
License
Apache-2.0