Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
f8cc5bc2
Commit
f8cc5bc2
authored
Aug 08, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7314 from bonifaido/patch-1
Ansible inventory file location fixed
parents
a48328fa
18b41ebd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docsite/rst/guide_vagrant.rst
+3
-3
No files found.
docsite/rst/guide_vagrant.rst
View file @
f8cc5bc2
...
...
@@ -93,8 +93,8 @@ Sometimes you may want to run Ansible manually against the machines. This is
pretty easy to do.
Vagrant automatically creates an inventory file for each Vagrant machine in
the same directory
called ``vagrant_ansible_inventory_machinename``. It
configures the inventory file according to the SSH tunnel that Vagrant
the same directory
located under ``.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory``.
It
configures the inventory file according to the SSH tunnel that Vagrant
automatically creates, and executes ``ansible-playbook`` with the correct
username and SSH key options to allow access. A typical automatically-created
inventory file may look something like this:
...
...
@@ -114,7 +114,7 @@ Here is an example:
.. code-block:: bash
$ ansible-playbook -i
vagrant_ansible_inventory_machinename
--private-key=~/.vagrant.d/insecure_private_key -u vagrant playbook.yml
$ ansible-playbook -i
.vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
--private-key=~/.vagrant.d/insecure_private_key -u vagrant playbook.yml
.. seealso::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment