You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/synchronize-buildah/runme.sh

16 lines
357 B
Bash

#!/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