tripleo-ansible/tripleo_ansible/roles/tripleo-container-tag
Kevin Carter 8e67d654bf Add legacy variable scenario tests
This change adds scenario tests for legacy variables across all roles
which use derived variables from legacy, un-namespaced, options.

Task: 34742
Story: 2006049
Related-Bug: #1834283
Change-Id: I18b6be271331e59ff66741a958b27d7f044f42ab
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2019-07-05 14:30:47 +00:00
..
defaults Add default for the container_image option 2019-06-26 00:23:32 -05:00
meta Import tripleo-container-tag role 2019-06-20 23:12:05 -05:00
molecule Add legacy variable scenario tests 2019-07-05 14:30:47 +00:00
tasks Add legacy variable scenario tests 2019-07-05 14:30:47 +00:00
README.md Import tripleo-container-tag role 2019-06-20 23:12:05 -05:00

README.md

tripleo-container-tag

An Ansible role to tag Pacemaker-managed containers.

Requirements

It requires Docker or Podman on the host, depending which container CLI is used.

Role variables

  • container_image: -- Name of the container image to tag.
  • container_image_latest: -- Name of the tag.
  • container_cli: -- Name of the Container CLI tool (default to docker).
  • pull_image: -- Pulling or not the image passed in container_image variable ( default to true).

Example Playbook

Sample playbook to call the role:

  • name: Tag Pacemaker containers hosts: all roles:
    • tripleo-container-tag vars: container_image: haproxy container_image_latest: pcmklatest container_cli: docker

License

Free software: Apache License (2.0)

Author Information

OpenStack TripleO team