mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Add initial experiment with ansible playbooks
This commit is contained in:
7
playbooks/brew.yml
Normal file
7
playbooks/brew.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- homebrew:
|
||||||
|
update_homebrew: yes
|
||||||
|
- include: brew/core.yml
|
||||||
|
- include: brew/personal.yml
|
||||||
35
playbooks/brew/core.yml
Normal file
35
playbooks/brew/core.yml
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- homebrew:
|
||||||
|
name: ["{{ item.name }}"]
|
||||||
|
state: present
|
||||||
|
install_options: "{{ item.install_options | default() }}"
|
||||||
|
with_items:
|
||||||
|
- name: ack
|
||||||
|
- name: bash
|
||||||
|
- name: bazaar
|
||||||
|
- name: ctop
|
||||||
|
- name: dpkg
|
||||||
|
- name: git
|
||||||
|
- name: heroku
|
||||||
|
- name: htop
|
||||||
|
- name: kubernetes-cli
|
||||||
|
- name: mysql
|
||||||
|
- name: peco
|
||||||
|
- name: rbenv
|
||||||
|
- name: readline
|
||||||
|
- name: reattach-to-user-namespace
|
||||||
|
- name: redis
|
||||||
|
- name: ruby-build
|
||||||
|
- name: shellcheck
|
||||||
|
- name: sshfs
|
||||||
|
- name: tccutil
|
||||||
|
- name: the_silver_searcher
|
||||||
|
- name: tmux
|
||||||
|
- name: wget
|
||||||
|
- name: zsh
|
||||||
|
- name: aspell
|
||||||
|
install_options: --with-lang-en --with-lang-el --with-lang-sv
|
||||||
|
- name: global
|
||||||
|
install_options: --with-ctags --with-pygments
|
||||||
10
playbooks/brew/personal.yml
Normal file
10
playbooks/brew/personal.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- homebrew:
|
||||||
|
name: ["{{ item.name }}"]
|
||||||
|
state: present
|
||||||
|
install_options: "{{ item.install_options | default() }}"
|
||||||
|
with_items:
|
||||||
|
- name: mkvtoolnix
|
||||||
|
install_options: --with-qt
|
||||||
8
playbooks/cask.yml
Normal file
8
playbooks/cask.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- homebrew:
|
||||||
|
update_homebrew: yes
|
||||||
|
- include: cask/core.yml
|
||||||
|
- include: cask/work.yml
|
||||||
|
- include: cask/personal.yml
|
||||||
46
playbooks/cask/core.yml
Normal file
46
playbooks/cask/core.yml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- homebrew_cask:
|
||||||
|
name: ["{{ item.name }}"]
|
||||||
|
state: present
|
||||||
|
install_options: "{{ item.install_options | default() }}"
|
||||||
|
with_items:
|
||||||
|
- name: aerial
|
||||||
|
- name: alfred
|
||||||
|
- name: appcleaner
|
||||||
|
- name: bartender
|
||||||
|
- name: betterzip
|
||||||
|
- name: betterzipql
|
||||||
|
- name: logitech-options
|
||||||
|
- name: emacs
|
||||||
|
- name: firefox
|
||||||
|
- name: fluid
|
||||||
|
- name: flux
|
||||||
|
- name: google-chrome
|
||||||
|
- name: hammerspoon
|
||||||
|
- name: istat-menus
|
||||||
|
- name: istumbler
|
||||||
|
- name: iterm2
|
||||||
|
- name: karabiner-elements
|
||||||
|
- name: keybase
|
||||||
|
- name: moom
|
||||||
|
- name: mplayerx
|
||||||
|
- name: osxfuse
|
||||||
|
- name: peakhour
|
||||||
|
- name: qlcolorcode
|
||||||
|
- name: qlimagesize
|
||||||
|
- name: qlmarkdown
|
||||||
|
- name: qlprettypatch
|
||||||
|
- name: qlstephen
|
||||||
|
- name: qlvideo
|
||||||
|
- name: quicklook-csv
|
||||||
|
- name: quicklook-json
|
||||||
|
- name: quicklookapk
|
||||||
|
- name: resolutionator
|
||||||
|
- name: stay
|
||||||
|
- name: suspicious-package
|
||||||
|
- name: ubersicht
|
||||||
|
- name: vlc
|
||||||
|
- name: wavebox
|
||||||
|
- name: webpquicklook
|
||||||
50
playbooks/cask/personal.yml
Normal file
50
playbooks/cask/personal.yml
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- homebrew_cask:
|
||||||
|
name: ["{{ item.name }}"]
|
||||||
|
state: present
|
||||||
|
install_options: "{{ item.install_options | default() }}"
|
||||||
|
with_items:
|
||||||
|
- name: 4k-video-downloader
|
||||||
|
- name: adium-beta
|
||||||
|
- name: android-file-transfer
|
||||||
|
- name: audio-hijack
|
||||||
|
- name: autodmg
|
||||||
|
- name: bowtie
|
||||||
|
- name: calibre
|
||||||
|
- name: daisydisk
|
||||||
|
- name: deluge
|
||||||
|
- name: discord
|
||||||
|
- name: dropbox
|
||||||
|
- name: ethereum-wallet
|
||||||
|
- name: filebot
|
||||||
|
- name: gog-galaxy
|
||||||
|
- name: gpgtools
|
||||||
|
- name: hackety-hack
|
||||||
|
- name: handbrake
|
||||||
|
- name: irccloud
|
||||||
|
- name: little-snitch
|
||||||
|
- name: makemkv
|
||||||
|
- name: messenger
|
||||||
|
- name: micro-snitch
|
||||||
|
- name: mist
|
||||||
|
- name: omnigraffle
|
||||||
|
- name: openemu
|
||||||
|
- name: parallels-desktop
|
||||||
|
- name: plex-media-player
|
||||||
|
- name: rclone-browser
|
||||||
|
- name: ring
|
||||||
|
- name: screenhero
|
||||||
|
- name: sixtyforce
|
||||||
|
- name: skype
|
||||||
|
- name: spotify
|
||||||
|
- name: teamviewer
|
||||||
|
- name: transmission
|
||||||
|
- name: unetbootin
|
||||||
|
- name: virtualc64
|
||||||
|
- name: viscosity
|
||||||
|
- name: vmware-fusion
|
||||||
|
- name: witgui
|
||||||
|
- name: xld
|
||||||
|
- name: yakyak
|
||||||
29
playbooks/cask/work.yml
Normal file
29
playbooks/cask/work.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- homebrew_cask:
|
||||||
|
name: ["{{ item.name }}"]
|
||||||
|
state: present
|
||||||
|
install_options: "{{ item.install_options | default() }}"
|
||||||
|
with_items:
|
||||||
|
- name: atom
|
||||||
|
- name: bbedit
|
||||||
|
- name: chicken
|
||||||
|
- name: cyberduck
|
||||||
|
- name: dash
|
||||||
|
- name: docker-edge
|
||||||
|
- name: github-desktop
|
||||||
|
- name: google-cloud-sdk
|
||||||
|
- name: hipchat
|
||||||
|
- name: insomnia
|
||||||
|
- name: java
|
||||||
|
- name: kaleidoscope
|
||||||
|
- name: licecap
|
||||||
|
- name: medis
|
||||||
|
- name: paw
|
||||||
|
- name: postman
|
||||||
|
- name: robomongo
|
||||||
|
- name: sequel-pro
|
||||||
|
- name: vagrant
|
||||||
|
- name: virtualbox
|
||||||
|
- name: visual-studio-code
|
||||||
Reference in New Issue
Block a user