diff options
author | James Cammarata <jimi@sngx.net> | 2014-11-20 12:58:18 -0600 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2014-11-20 12:58:18 -0600 |
commit | 55fd4daf9cc7076f932a7b39024dcea1c874fc71 (patch) | |
tree | 6cfa6bd628cabef46e69a4140f8e665054ac10fa | |
parent | 4b6b58ab11fde889ee5301be773f554fa8f49a41 (diff) | |
parent | c8bfc61172a5908eacee6656b10c31a79385fa82 (diff) | |
download | ansible-55fd4daf9cc7076f932a7b39024dcea1c874fc71.tar.gz |
Merge pull request #9583 from electroniceagle/devel
change location of ec2.ini example to moved location
-rw-r--r-- | docsite/rst/intro_dynamic_inventory.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docsite/rst/intro_dynamic_inventory.rst b/docsite/rst/intro_dynamic_inventory.rst index f8a5c92b2d..28536971bf 100644 --- a/docsite/rst/intro_dynamic_inventory.rst +++ b/docsite/rst/intro_dynamic_inventory.rst @@ -87,7 +87,7 @@ marking it executable:: ansible -i ec2.py -u ubuntu us-east-1d -m ping -The second option is to copy the script to `/etc/ansible/hosts` and `chmod +x` it. You will also need to copy the `ec2.ini <https://raw.github.com/ansible/ansible/devel/plugins/inventory/ec2.ini>`_ file to `/etc/ansible/ec2.ini`. Then you can run ansible as you would normally. +The second option is to copy the script to `/etc/ansible/hosts` and `chmod +x` it. You will also need to copy the `ec2.ini <https://raw.githubusercontent.com/ansible/ansible/devel/plugins/inventory/ec2.ini>`_ file to `/etc/ansible/ec2.ini`. Then you can run ansible as you would normally. To successfully make an API call to AWS, you will need to configure Boto (the Python interface to AWS). There are a `variety of methods <http://docs.pythonboto.org/en/latest/boto_config_tut.html>`_ available, but the simplest is just to export two environment variables:: |