ansible-core/tests/smoke.sh
2023-04-24 17:44:17 +00:00

18 lines
529 B
Bash
Executable File

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