mirror of https://github.com/ansible/ansible.git
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.
16 lines
357 B
Bash
16 lines
357 B
Bash
7 years ago
|
#!/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
|