Skip to content

Commit

Permalink
Add my config
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark90 committed Feb 6, 2022
1 parent c42f882 commit ec56099
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
.DS_Store
*.retry
roles*
config.yml
150 changes: 150 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
---
downloads: ~/.ansible-downloads/

configure_dotfiles: true
configure_terminal: true
configure_osx: false

# Set to 'true' to configure the Dock via dockutil.
configure_dock: false
dockitems_remove: []
# - Launchpad
# - TV
# - Podcasts
# - 'App Store'
dockitems_persist: []
# - name: "Sublime Text"
# path: "/Applications/Sublime Text.app/"
# pos: 5

configure_sudoers: false
sudoers_custom_config: ''
# Example:
# sudoers_custom_config: |
# # Allow users in admin group to use sudo with no password.
# %admin ALL=(ALL) NOPASSWD: ALL

dotfiles_repo: https://github.com/Mark90/dotfiles.git
dotfiles_repo_accept_hostkey: true
dotfiles_repo_local_destination: ~/.dotfiles
dotfiles_files:
- .zshrc
- .zprofile
- .zsh_aliases
- .zsh_functions
- .gitignore
- .gitconfig
- .inputrc
# - .osx
- .vimrc

homebrew_installed_packages:
- autoconf
- bash-completion
- git
- gpg
- libevent
- sqlite3
- nmap
- nvm
- ssh-copy-id
- readline
- openssl
- xz
- zlib
- pyenv
- wget
- docker-completion
- htop
- zsh
- zsh-history-substring-search
- zsh-autosuggestions
- zsh-completions
- fast-syntax-highlighting # zsh
- docker-compose
- nvm
- kubectl
- jq
- tldr
- vim


homebrew_taps:
- homebrew/core
- homebrew/cask

homebrew_cask_appdir: /Applications
homebrew_cask_apps:
- chromedriver
- docker
- firefox
- google-chrome
- slack
- telegram
- signal
- microsoft-office
- microsoft-teams
- pomodone
- sublime-text
- vagrant
- visual-studio-code
- pycharm
- beyond-compare
- drawio
- iterm2
- postman
- lens
- wireshark
- spectacle
- tunnelblick
- itsycal
- macpass

# See `geerlingguy.mas` role documentation for usage instructions.
mas_installed_apps: []
mas_email: ""
mas_password: ""

osx_script: "~/.osx --no-restart"

# Install packages from other package managers.
# Note: You are responsible for making sure the required package managers are
# installed, eg. through homebrew.
composer_packages: []
# - name: drush
# state: present # present/absent, default: present
# version: "^8.1" # default: N/A
gem_packages: []
# - name: bundler
# state: present # present/absent/latest, default: present
# version: "~> 1.15.1" # default: N/A
npm_packages: []
# - name: webpack
# state: present # present/absent/latest, default: present
# version: "^2.6" # default: N/A
pip_packages: []
# - name: mkdocs
# state: present # present/absent/latest, default: present
# version: "0.16.3" # default: N/A

# Set to 'true' to configure Sublime Text.
configure_sublime: false
sublime_base_path: '~/Library/Application Support/Sublime Text'
sublime_config_path: "Packages/User"
sublime_package_control:
- "DocBlockr"
- "Dockerfile Syntax Highlighting"
- "FileDiffs"
- "GitHub Flavored Markdown Preview"
- "Jinja2"
- "Package Control"
- "PHP-Twig"
- "Pretty JSON"
- "SublimeLinter"
- "SublimeLinter-contrib-yamllint"
- "TrailingSpaces"
- "WordCount"

# Glob pattern to ansible task files to run after all other tasks are finished.
post_provision_tasks:
- tasks/oh-my-zsh.yml
18 changes: 18 additions & 0 deletions tasks/oh-my-zsh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- name: Install oh-my-zsh
block:

- name: Check .oh-my-zsh
stat:
path: ~/.oh-my-zsh
register: omz_dir

- name: Run oh-my-zsh install.sh
command: sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
environment:
KEEP_ZSHRC: "yes" # don't change .zshrc
RUNZSH: "no" # don't launch zsh
CHSH: "yes" # do make zsh the default
when: not omz_dir.stat.exists
changed_when: true

become: false

0 comments on commit ec56099

Please sign in to comment.