Skip to content

Commit

Permalink
Issue geerlingguy#2: Add inventory file so playbook can be run in fre…
Browse files Browse the repository at this point in the history
…sh environment.
  • Loading branch information
geerlingguy committed Dec 31, 2014
1 parent 33373e9 commit 20420ec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This is a work in progress, and is mostly a means for me to document my current
1. Clone this repository somewhere on your local drive.
2. [Install Ansible](http://docs.ansible.com/intro_installation.html).
3. Run the command `$ ansible-galaxy install -r requirements.txt` inside this directory to install required Ansible roles.
3. Run `ansible-playbook main.yml --ask-sudo-pass` from the same directory as this README file.
3. Run `ansible-playbook main.yml -i inventory --ask-sudo-pass` from the same directory as this README file.

## Included Applications / Configuration

Expand Down
2 changes: 2 additions & 0 deletions inventory
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[localhost]
127.0.0.1
2 changes: 1 addition & 1 deletion main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- hosts: 127.0.0.1
- hosts: localhost
user: jgeerling
connection: local

Expand Down

0 comments on commit 20420ec

Please sign in to comment.