Role - tripleo-container-stop

Role Documentation

Welcome to the “tripleo_container_stop” role documentation.

Role Defaults

This section highlights all of the defaults and variables set within the “tripleo_container_stop” role.

tripleo_containers_to_stop: '{{ default([]) }}'
tripleo_delegate_to: [localhost]

Molecule Scenarios

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

Scenario: default

Molecule Inventory
hosts:
  all:
    hosts:
      instance:
        ansible_host: localhost
Example default playbook
- name: Converge
  become: true
  hosts: all
  roles:
  - role: tripleo_container_stop
    tripleo_containers_to_stop:
    - podman-container1
    - podman-container2