osp.edpm.edpm_container_manage module – Create containers from a set of json configurations

New in osp.edpm 2.9

Synopsis

  • Create containers from a set of json configurations

Requirements

The below requirements are needed on the host that executes this module.

  • None

Parameters

Parameter

Comments

concurrency

integer

Number of podman actions to run at the same time

Default: 1

config_dir

string / required

Path to the json container definitions

config_id

string / required

Config id for the label

config_overrides

dictionary

Allows to override any container configuration which will take precedence over the JSON files.

Default: {}

config_patterns

string

Glob for configuration files

Default: "*.json"

debug

boolean

Enable debug

Choices:

  • false ← (default)

  • true

log_base_path

string

Log base path directory

Default: "/var/log/containers/stdouts"

Examples

- name: Run containers
  edpm_container_manage:
    config_id: edpm_step1
    config_dir: /var/lib/edpm-config/container-startup-config/step_1

Authors

  • Alex Schultz (@mwhahaha)