ansible / ansible.builtin / v2.4.2.0-1 / module / atomic_container Manage the containers on the atomic host platform | "added in version" 2.4 of ansible.builtin" Authors: Giuseppe Scrivano @gscrivano preview | supported by communityansible.builtin.atomic_container (v2.4.2.0-1) — module
pip
Install with pip install ansible==2.4.2.0.post1
Manage the containers on the atomic host platform
Allows to manage the lifecycle of a container on the atomic host platform
# Install the etcd system container - atomic_container: name: etcd image: rhel/etcd backend: ostree state: latest system: True values: - ETCD_NAME=etcd.server
# Uninstall the etcd system container - atomic_container: name: etcd image: rhel/etcd backend: ostree state: absent system: True
mode: choices: - user - system default: None description: - Define if it is an user or a system container required: true name: default: null description: - Name of the container required: true image: default: null description: - The image to use to install the container required: true state: choices: - latest - absent - latest - rollback default: latest description: - State of the container required: true rootfs: default: null description: - Define the rootfs of the image required: false values: default: None description: - Values for the installation of the container. This option is permitted only with mode 'user' or 'system'. The values specified here will be used at installation time as --set arguments for atomic install. required: false backend: choices: - docker - ostree default: None description: - Define the backend to use for the container required: true
msg: description: The command standard output returned: always sample: - u'Using default tag: latest ...' type: string