Module - paunch

This module provides for the following ansible plugin:

  • paunch

Module Documentation

Start or stop containers with Paunch

Options

config

JSON file or directory of JSON files containing configuration data

config_id

ID to assign to containers

action

The desired action to apply for the container.

container_cli

The container CLI.

container_log_stdout_path

Absolute path to a directory where container stdout will be stored.

healthcheck_disabled

Whether or not we disable the Containers Healthchecks

managed_by

Name of the tool managing the containers. Only containers labelled with this will be modified

debug

Whether or not we enable Debug

log_file

Absolute path for the paunch log file.

Authors

OpenStack TripleO Contributors

Example Tasks

- name: Start containers for step 1
  paunch:
    action: apply
    config: /var/lib/tripleo-config/hashed-container-startup-config-step_1.json
    config_id: tripleo_step1
- name: Cleanup containers for step 1 and step 2
  paunch:
    action: cleanup
    config_id:
    - tripleo_step1
    - tripleo_step2