summaryrefslogtreecommitdiffstats
path: root/tests/roles/cli/tasks/from.yaml
blob: 7dac3e72ce5a4ed1c45a0becfa3c6bdd22a13b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
- name: remove all containers before pull
  command: buildah rm --all

- name: buildah from without pull
  command: buildah from --name nginxc docker.io/nginx

- name: buildah from with pull
  command: buildah from --pull --name nginxc-2 docker.io/nginx

- name: buildah from with pull always
  command: buildah from --pull-always docker.io/busybox

- name: remove busybox-working-container
  command: buildah rm busybox-working-container

- name: remove exist image so it will pull again
  command: buildah rmi busybox

- name: buildah from with quiet
  command: buildah from --quiet docker.io/busybox
  register: quietpull
  failed_when: '"Getting" in quietpull.stdout'