At the command line using yum.
$ yum install tripleo-ansible
At the command line using dnf.
$ dnf install tripleo-ansible