ansible/hacking/tests/selinux/build.sh
Rick Elrod bd9e31fcb0
Add a custom policy for hackers using ansible-test (#68535)
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-03-28 17:07:29 -05:00

9 lines
243 B
Bash
Executable file

#!/usr/bin/env bash
set -x
set -e
checkmodule -Mmo ansible-podman.mod ansible-podman.te
semodule_package -o ansible-podman.pp -m ansible-podman.mod
set +x
echo "Module built. Now run this as root:"
echo "semodule -i $(pwd)/ansible-podman.pp"