mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-22 03:43:06 +00:00
Issue #2: Add inventory file so playbook can be run in fresh environment.
This commit is contained in:
parent
33373e9b8d
commit
20420ec155
3 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
2
inventory
Normal file
2
inventory
Normal file
|
@ -0,0 +1,2 @@
|
|||
[localhost]
|
||||
127.0.0.1
|
2
main.yml
2
main.yml
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- hosts: 127.0.0.1
|
||||
- hosts: localhost
|
||||
user: jgeerling
|
||||
connection: local
|
||||
|
||||
|
|
Loading…
Reference in a new issue