Open a connection to your centos1 machine, installing Ansible at the same time: $ vagrant ssh centos1$ sudo yum install ansible ansible-doc -y