Fixes #9: Install required roles in current directory.
This commit is contained in:
parent
e2d8a2f9f6
commit
b084ebe8f7
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
*.vagrant
|
||||
.DS_Store
|
||||
*.retry
|
||||
roles*
|
||||
|
||||
@ -15,7 +15,7 @@ This is a work in progress, and is mostly a means for me to document my current
|
||||
1. [Install Ansible](http://docs.ansible.com/intro_installation.html).
|
||||
2. Ensure Apple's command line tools are installed (`xcode-select --install` to launch the installer).
|
||||
3. Clone this repository to your local drive.
|
||||
4. Run the command `$ ansible-galaxy install -r requirements.txt` inside this directory to install required Ansible roles.
|
||||
4. Run the command `$ ansible-galaxy install -r requirements.yml` inside this directory to install required Ansible roles.
|
||||
5. Run `ansible-playbook main.yml -i inventory -u [username] -U [username] --ask-sudo-pass` from the same directory as this README file (substitute `[username]` for your macOS account username). Enter your account password when prompted.
|
||||
|
||||
## Included Applications / Configuration
|
||||
|
||||
2
ansible.cfg
Normal file
2
ansible.cfg
Normal file
@ -0,0 +1,2 @@
|
||||
[defaults]
|
||||
roles_path = ./roles
|
||||
@ -1,2 +0,0 @@
|
||||
geerlingguy.dotfiles
|
||||
geerlingguy.homebrew
|
||||
3
requirements.yml
Normal file
3
requirements.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
- name: geerlingguy.dotfiles
|
||||
- name: geerlingguy.homebrew
|
||||
Loading…
x
Reference in New Issue
Block a user