#!/bin/bash

dir=$(dirname $0)

which ansible && which ansible-playbook || rpm -ivh --nodeps --force --nosignature ${dir}/ansible_rpm/*.rpm
\cp ${dir}/ansible.cfg /etc/ansible/