{"revision": {"id": "f3e820a9-2f95-11f1-8be6-e86a64d24d78", "node_id": "f3e74cbe-2f95-11f1-aa17-e86a64d24d78", "user_id": "edc3f576-2f95-11f1-900f-e86a64d24d78", "author": "foxhop", "data": "Ansible\r\n########\r\n\r\nFirst step install ansible on your command and control server.  The next section shows the  process I used on Fedora.\r\n\r\nhow to install\r\n===================\r\n\r\ninstall system dependancy\r\n\r\n.. code-block:: bash\r\n \r\n sudo yum -y install sshpass\r\n\r\nclone the git repo and create python virtualenv\r\n\r\n.. code-block:: bash\r\n\r\n git clone git://github.com/ansible/ansible.git\r\n cd ansible\r\n virtualenv .env\r\n\r\nsource the environment scripts and install the rest of the dependencies into the python virtualenv\r\n\r\n.. code-block:: bash\r\n\r\n source ./hacking/env-setup\r\n source ./env/bin/activate \r\n pip install paramiko PyYAML jinja2 httplib2\r\n  \r\ncreate an ansible hosts file in /etc/ansible/hosts\r\n\r\n.. code-block:: bash\r\n\r\n sudo mkdir /etc/ansible\r\n sudo echo \"127.0.0.1\" > /etc/ansible/hosts\r\n\r\nand test!\r\n\r\n.. code-block:: bash\r\n\r\n ansible all -m ping --ask-pass\r\n\r\n", "source_format": "rst", "revision_number": 3, "created": 1399225339000}}