tripleo_container_*/molecule: pull fedora instead of centos8

In these tests, we use the fedora container and not centos:8; so right
after when we run "podman run", it can fail if the fedora image isn't
pulled.

Let's pull the right image before the podman run.

Change-Id: If32d5f9e3ff1a590d2fc467969404861ec733f9b
This commit is contained in:
Emilien Macchi 2020-05-06 16:16:12 -04:00
parent a1a1f1e82d
commit 3e1e723ce2
4 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@
state: latest state: latest
- name: Pull container image - name: Pull container image
command: "podman pull centos:8" command: "podman pull fedora"
- name: Create test containers - name: Create test containers
command: "podman run -itd --systemd true --name {{ item }} fedora bash" command: "podman run -itd --systemd true --name {{ item }} fedora bash"

View File

@ -32,7 +32,7 @@
state: latest state: latest
- name: Pull container image - name: Pull container image
command: "podman pull centos:8" command: "podman pull fedora"
- name: Create test containers - name: Create test containers
command: "podman run -itd --systemd true --name {{ item }} fedora bash" command: "podman run -itd --systemd true --name {{ item }} fedora bash"

View File

@ -32,7 +32,7 @@
state: latest state: latest
- name: Pull container image - name: Pull container image
command: "podman pull centos:8" command: "podman pull fedora"
- name: Create test containers - name: Create test containers
command: "podman run -itd --systemd true --name {{ item }} fedora bash" command: "podman run -itd --systemd true --name {{ item }} fedora bash"

View File

@ -32,7 +32,7 @@
state: latest state: latest
- name: Pull container image - name: Pull container image
command: "podman pull centos:8" command: "podman pull fedora"
- name: Create test containers - name: Create test containers
command: "podman run -itd --systemd true --name {{ item }} fedora bash" command: "podman run -itd --systemd true --name {{ item }} fedora bash"