tripleo-operator-ansible/roles/tripleo_container_image_prepare_default
Alex Schultz 6486bfa801 Fix container image prepare default
The default vars were wrong. Updated them to be correct and covered with
a molecule test.

Change-Id: Idca5b9ff174937d054ab1447ee039dac4088cdd4
2020-02-07 23:18:33 +00:00
..
2020-01-21 10:12:00 -07:00
2020-02-07 23:18:33 +00:00
2020-01-27 19:10:31 +00:00
2020-01-28 13:27:26 +00:00

tripleo_container_image_prepare_default

A role to perform the container image push against a registry.

Requirements

None.

Role Variables

  • tripleo_container_image_prepare_default_debug: (Boolean) Flag to print out the push command. Default: False
  • tripleo_container_image_prepare_default_local_push_destination: (Boolean) Include a push_Destination to trigger upload to a local registry on the undercloud. Default: false
  • tripleo_container_image_prepare_default_output_env_file: (String) File to write environment file containing default ContainerImagePrepare value. When not set, tripleo_container_image_prepare_default_output will contain yaml defining ContainerImagePrepare. Default is not set.

Output Variables

  • tripleo_container_image_prepare_default_output: (String) YAML defining a default ContainerImagePrepare value.
  • tripleo_container_image_prepare_default_result: Ansible execution results

Dependencies

None.

Example Playbook

Example container prepare default execution playbook

- hosts: undercloud
  gather_facts: true
  tasks:
    - name: Generate default ContainerImagePrepare
      import_role:
        name: tripleo_container_image_prepare_default
      vars:
        tripleo_container_image_prepare_output_env_file: /home/stack/container-image-prepare.yaml

License

Apache-2.0