ansible / ansible.builtin / v2.4.4.0-1 / module / atomic_image Manage the container images on the atomic host platform | "added in version" 2.2 of ansible.builtin" Authors: Saravanan KR @krsacme preview | supported by communityansible.builtin.atomic_image (v2.4.4.0-1) — module
pip
Install with pip install ansible==2.4.4.0.post1
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
# Execute the run command on rsyslog container image (atomic run rhel7/rsyslog) - atomic_image: name: rhel7/rsyslog state: latest
# Pull busybox to the OSTree backend - atomic_image: name: busybox state: latest backend: ostree
name: default: null description: - Name of the container image required: true state: choices: - present - absent - latest 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. required: false backend: choices: - docker - ostree default: None description: - Define the backend where the image is pulled. required: false version_added: '2.4' version_added_collection: ansible.builtin started: choices: - 'yes' - 'no' default: true description: - Start or Stop the container required: false
msg: description: The command standard output returned: always sample: - u'Using default tag: latest ...' type: string