ansible-core/tests/smoke.sh

18 lines
529 B
Bash
Raw Normal View History

2023-04-20 23:06:56 +00:00
#!/usr/bin/bash -x
set -euo pipefail
ansible --version
ansible -c local -i localhost, localhost -m setup
ansible -c local -i locahost, localhost -b \
-m community.general.copr \
-a "name=gotmax23/community.general.copr_integration_tests chroot=fedora-rawhide-x86_64" \
|& tee out
grep 'localhost | CHANGED' out
ansible -c local -i localhost, localhost -b \
-m package \
-a name=copr-module-integration-dummy-package \
|& tee out
grep 'localhost | CHANGED' out
rpm -ql copr-module-integration-dummy-package