mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-25 21:30:23 +00:00
Fixes #9: Install required roles in current directory.
This commit is contained in:
parent
e2d8a2f9f6
commit
b084ebe8f7
5 changed files with 7 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
*.vagrant
|
*.vagrant
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.retry
|
*.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).
|
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).
|
2. Ensure Apple's command line tools are installed (`xcode-select --install` to launch the installer).
|
||||||
3. Clone this repository to your local drive.
|
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.
|
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
|
## 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…
Reference in a new issue