community.general.atomic_container – Manage the containers on the atomic host platform¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.atomic_container
.
Synopsis¶
Manage the containers on the atomic host platform.
Allows to manage the lifecycle of a container on the atomic host platform.
Requirements¶
The below requirements are needed on the host that executes this module.
atomic
python >= 2.6
Parameters¶
Examples¶
- name: Install the etcd system container
community.general.atomic_container:
name: etcd
image: rhel/etcd
backend: ostree
state: latest
mode: system
values:
- ETCD_NAME=etcd.server
- name: Uninstall the etcd system container
community.general.atomic_container:
name: etcd
image: rhel/etcd
backend: ostree
state: absent
mode: system
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
msg
string
|
always |
The command standard output
Sample:
[{"u'Using default tag": "latest ...'"}]
|
Authors¶
Giuseppe Scrivano (@giuseppe)