mirror of
https://github.com/geerlingguy/mac-dev-playbook
synced 2024-11-21 19:33:03 +00:00
Fixes #14: Set user as a CLI flag instead of hardcoding in playbook.
This commit is contained in:
parent
71ce4d51b6
commit
04314cb755
2 changed files with 3 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
# Mac Development Ansible Playbook
|
||||
|
||||
This playbook installs and configures most of the software I use on my Mac for web and software development. Some things in OS X are difficult to automate (notably, the Mac App Store and certain tools from Apple), so I still have some manual installation steps, but at least it's all documented here.
|
||||
This playbook installs and configures most of the software I use on my Mac for web and software development. Some things in macOS are difficult to automate (notably, the Mac App Store and certain tools from Apple), so I still have some manual installation steps, but at least it's all documented here.
|
||||
|
||||
This is a work in progress, and is mostly a means for me to document my current Mac's setup. I'll be adding settings and packages to this set of playbooks over time.
|
||||
|
||||
|
@ -16,7 +16,7 @@ This is a work in progress, and is mostly a means for me to document my current
|
|||
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.
|
||||
5. Run `ansible-playbook main.yml -i inventory --ask-sudo-pass` from the same directory as this README file.
|
||||
5. Run `ansible-playbook main.yml -i inventory -u [username] --ask-sudo-pass` from the same directory as this README file (substitute `[username]` for your macOS account username.
|
||||
|
||||
## Included Applications / Configuration
|
||||
|
||||
|
@ -70,7 +70,7 @@ Packages (installed with Homebrew):
|
|||
- wget
|
||||
- brew-cask
|
||||
|
||||
My [dotfiles](https://github.com/geerlingguy/dotfiles) are also installed into the current user's home directory, including the `.osx` dotfile for configuring many aspects of Mac OS X for better performance and ease of use.
|
||||
My [dotfiles](https://github.com/geerlingguy/dotfiles) are also installed into the current user's home directory, including the `.osx` dotfile for configuring many aspects of macOS for better performance and ease of use.
|
||||
|
||||
Finally, there are a few other preferences and settings added on for various apps and services.
|
||||
|
||||
|
|
1
main.yml
1
main.yml
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
- hosts: localhost
|
||||
user: jgeerling
|
||||
connection: local
|
||||
|
||||
vars_files:
|
||||
|
|
Loading…
Reference in a new issue