Role - tripleo-image-serve

Role Documentation

Welcome to the “tripleo-image-serve” role documentation.

Role Defaults

This section highlights all of the defaults and variables set within the “tripleo-image-serve” role.

tripleo_container_registry_host: '{{ container_registry_host | default(''localhost'')
tripleo_container_registry_port: '{{ container_registry_port | default(''8787'') }}'
tripleo_image_data_dir: '{{ image_data_dir | default(''/var/lib/image-serve'') }}'

Molecule Scenarios

Molecule is being used to test the “tripleo-image-serve” role. The following section highlights the drivers in service and provides an example playbook showing how the role is leveraged.

Scenario: default

Driver: docker
Example default playbook
- hosts: all
  name: Converge
  - role: tripleo-image-serve

Scenario: legacy_vars

Driver: docker
Example legacy_vars playbook
- hosts: all
  name: Converge
  - container_registry_host: localhost
    container_registry_port: 8787
    image_data_dir: /var/lib/image-serve-legacy
    role: tripleo-image-serve