Skip to content

Fix zsh #223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
.DS_Store
.ansible
*.retry
roles*
config.yml
galaxy_roles
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ This playbook installs and configures most of the software I use on my Mac for w

3. Clone or download this repository to your local drive.
4. Run `ansible-galaxy install -r requirements.yml` inside this directory to install required Ansible roles.
5. Run `ansible-playbook main.yml --ask-become-pass` inside this directory. Enter your macOS account password when prompted for the 'BECOME' password.
5. Update the `~` for the actual full home directory path: `HOME_DIR=$(echo $HOME) && echo "Home directory: $HOME_DIR" && sed -i.bak "s|~|$HOME_DIR|g" default.config.yml`
6. Run `ansible-playbook main.yml --ask-become-pass` inside this directory. Enter your macOS account password when prompted for the 'BECOME' password.

> Note: If some Homebrew commands fail, you might need to agree to Xcode's license or fix some other Brew issue. Run `brew doctor` to see if this is the case.

Expand All @@ -34,7 +35,7 @@ You can use this playbook to manage other Macs as well; the playbook doesn't eve

Then edit the `inventory` file in this repository and change the line that starts with `127.0.0.1` to:

```
```toml
[ip address or hostname of mac] ansible_user=[mac ssh username]
```

Expand Down
3 changes: 2 additions & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[defaults]
nocows = True
roles_path = ./roles:/etc/ansible/roles
roles_path = $PWD/galaxy_roles:$PWD/roles
inventory = inventory
become = true
stdout_callback = yaml
gather_facts = true
71 changes: 47 additions & 24 deletions default.config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
configure_fonts: true
configure_dotfiles: true
configure_terminal: true
configure_osx: true
Expand All @@ -22,63 +23,77 @@ sudoers_custom_config: ""
# # Allow users in admin group to use sudo with no password.
# %admin ALL=(ALL) NOPASSWD: ALL

dotfiles_repo: https://github.com/geerlingguy/dotfiles.git
dotfiles_repo: https://github.com/armarquez/dotfiles.git
dotfiles_repo_accept_hostkey: true
dotfiles_repo_local_destination: ~/Development/GitHub/dotfiles
dotfiles_repo_version: master # Replace with your default branch
dotfiles_files:
- .zshrc
- .gitignore
- .inputrc
- .osx
- .vimrc
dotfiles_repo_local_destination: "~/dotfiles"
dotfiles_repo_version: master
dotfiles_home: "~"

homebrew_installed_packages:
# - ansible # Installed via Pip.
- autoconf
- bash-completion
- doxygen
- gettext
- gifsicle
- bazelisk
# - bash-completion
# - doxygen
- fzf
# - gettext
# - gifsicle
- git
- gh
- go
- gpg
- httpie
- ical-buddy
- iperf
- libevent
- sqlite
- nmap
- node
# - node
- nvm
- php
- pngpaste
# - php
# - pngpaste
- podman
- ssh-copy-id
- readline
- ripgrep
- rsync
- rustdesk
- openssl
- pv
- stow
- tldr
- wget
- wrk
# - wrk
- zsh
- zsh-history-substring-search

homebrew_taps: []

homebrew_cask_appdir: /Applications
homebrew_cask_apps:
- chromedriver
- docker
- 1password
- alfred
- bettertouchtool
# - chromedriver
# - docker
- dropbox
- firefox
- google-chrome
- handbrake
- licecap
- sequel-ace
- google-drive
# - handbrake
- helpwire-operator
- iterm2
# - licecap
# - sequel-ace
- slack
- sublime-text
# - sublime-text
- tailscale-app
- transmit
- visual-studio-code

# See `geerlingguy.mac.mas` role documentation for usage instructions.
mas_installed_apps: []
mas_installed_apps:
- { id: 937984704, name: "Amphetamine" }
mas_email: ""
mas_password: ""

Expand Down Expand Up @@ -124,3 +139,11 @@ sublime_package_control:

# Glob pattern to ansible task files to run after all other tasks are finished.
post_provision_tasks: []

# iTerm2 configuration
iterm2_profiles_source_dir: "{{ playbook_dir }}/files/iterm2"
iterm2_dynamic_profiles_dest_dir: "~/Library/Application Support/iTerm2/DynamicProfiles"

# OSX configuration
osx_script_source: "{{ playbook_dir }}/files/scripts/.osx"
osx_script_dest: "~/.osx"
Loading
Loading