community / community.general / 0.1.1 / module / atomic_image Manage the container images on the atomic host platform Authors: Saravanan KR (@krsacme) preview | supported by communitycommunity.general.atomic_image (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
Manage the container images on the atomic host platform.
Allows to execute the commands specified by the RUN label in the container image when present.
- name: Execute the run command on rsyslog container image (atomic run rhel7/rsyslog) atomic_image: name: rhel7/rsyslog state: latest
- name: Pull busybox to the OSTree backend atomic_image: name: busybox state: latest backend: ostree
name: description: - Name of the container image. required: true state: choices: - absent - latest - present default: latest description: - The state of the container image. - The state C(latest) will ensure container image is upgraded to the latest version and forcefully restart container, if running. backend: choices: - docker - ostree description: - Define the backend where the image is pulled. started: default: 'yes' description: - Start or Stop the container. type: bool
msg: description: The command standard output returned: always sample: - u'Using default tag: latest ...' type: str