Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add my packages, update custom script for omzsh
  • Loading branch information
after-ephemera committed Apr 18, 2023
commit 95ce9aaa491a6c0e751cc2ebcedd2b44d2d121e0
106 changes: 30 additions & 76 deletions default.config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
downloads: ~/.ansible-downloads/

configure_dotfiles: true
configure_terminal: true
configure_osx: true
configure_dotfiles: false
configure_terminal: false
configure_osx: false

# Set to 'true' to configure the Dock via dockutil.
configure_dock: false
Expand All @@ -24,81 +24,53 @@ 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_accept_hostkey: true
dotfiles_repo_local_destination: ~/Development/GitHub/dotfiles
dotfiles_files:
- .zshrc
- .gitignore
- .inputrc
- .osx
- .vimrc

homebrew_installed_packages:
# - ansible # Installed via Pip.
- autoconf
- bash-completion
- doxygen
- gettext
- gifsicle
- git
- github/gh/gh
- go
- gpg
- httpie
- iperf
- libevent
- sqlite
- mcrypt
- nmap
- zsh
- zsh-vi-mode
- pyenv
- chruby
- neovim
- tmux
- ripgrep
- bat
- tree
- exa
- node
- nvm
- php
- ssh-copy-id
- cowsay
- readline
- openssl
- pv
- wget
- wrk
- zsh-history-substring-search
- kubernetes-cli
- fd
- zoxide
- git
- gh
- httpie

homebrew_taps:
- homebrew/core
- homebrew/cask
- homebrew/cask-fonts

homebrew_cask_appdir: /Applications
homebrew_cask_apps:
- chromedriver
- docker
- dropbox
- firefox
- google-chrome
- handbrake
- licecap
- sequel-ace
- kitty
- font-fira-code
- cron
- spotify
- arc
- slack
- sublime-text
- transmit
- docker
- keeper-password-manager
- 1password
- notion

# 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
Expand All @@ -108,23 +80,5 @@ pip_packages: []
# 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: []
post_provision_tasks: [omzsh.yml]
4 changes: 0 additions & 4 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
- import_tasks: tasks/extra-packages.yml
tags: ['extra-packages']

- import_tasks: tasks/sublime-text.yml
when: configure_sublime
tags: ['sublime-text']

- block:
- name: Run configured post-provision ansible task files.
include_tasks: "{{ outer_item }}"
Expand Down
3 changes: 3 additions & 0 deletions tasks/omzsh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- name: Install omzsh
ansible.builtin.shell: |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)")