To evalute if opa is installed on the O.S. the function validate_opa_installation in utils.py use which command to determinate the absolute path of 0opa binary, the issue is that some linux flavors which command is not installed by default (i.e archlinux, fedora, centos..), but this requirement in not documented, install which command solve the issue, or deleting "which" in the line of code solved to.
To evalute if opa is installed on the O.S. the function validate_opa_installation in utils.py use
which
command to determinate the absolute path of 0opa binary, the issue is that some linux flavors which command is not installed by default (i.e archlinux, fedora, centos..), but this requirement in not documented, install which command solve the issue, or deleting "which" in the line of code solved to.$ cat ansible_policy/utils.py'