mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
0587aedc01
Fixes #33533 Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
15 lines
357 B
Bash
Executable file
15 lines
357 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -ux
|
|
|
|
CONTAINER_NAME=buildah-container
|
|
|
|
buildah rm $CONTAINER_NAME >/dev/null 2>/dev/null
|
|
|
|
set -e
|
|
|
|
buildah from --name $CONTAINER_NAME docker.io/library/centos:7
|
|
trap '{ buildah rm $CONTAINER_NAME; }' EXIT
|
|
buildah run $CONTAINER_NAME -- yum install -y rsync
|
|
|
|
ansible-playbook test_synchronize_buildah.yml -c buildah -i inventory -vv
|