mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 11:26:41 +00:00
Add some actually useful macOS playbooks
This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
tasks:
|
|
||||||
- homebrew:
|
|
||||||
update_homebrew: yes
|
|
||||||
- include: brew/core.yml
|
|
||||||
- include: brew/personal.yml
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
---
|
|
||||||
- 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
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
tasks:
|
|
||||||
- homebrew:
|
|
||||||
name: ["{{ item.name }}"]
|
|
||||||
state: present
|
|
||||||
install_options: "{{ item.install_options | default() }}"
|
|
||||||
with_items:
|
|
||||||
- name: mkvtoolnix
|
|
||||||
install_options: --with-qt
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: localhost
|
|
||||||
tasks:
|
|
||||||
- homebrew:
|
|
||||||
update_homebrew: yes
|
|
||||||
- include: cask/core.yml
|
|
||||||
- include: cask/work.yml
|
|
||||||
- include: cask/personal.yml
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
---
|
|
||||||
- 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
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
---
|
|
||||||
- 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
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
---
|
|
||||||
- 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
|
|
||||||
10
playbooks/macos.yml
Normal file
10
playbooks/macos.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- name: Set sane defaults for QLColorCode QuickLook plugin
|
||||||
|
osx_defaults:
|
||||||
|
domain: org.n8gray.QLColorCode
|
||||||
|
key: extraHLFlags
|
||||||
|
type: string
|
||||||
|
value: '-l -W --kw-case=none'
|
||||||
|
state: present
|
||||||
33
playbooks/macos_cloudflared.yml
Normal file
33
playbooks/macos_cloudflared.yml
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
- hosts: localhost
|
||||||
|
tasks:
|
||||||
|
- name: Install cloudflare homebrew tap
|
||||||
|
homebrew_tap:
|
||||||
|
name: cloudflare/cloudflare
|
||||||
|
state: present
|
||||||
|
register: cloudflare_tap
|
||||||
|
- name: Update homebrew package list
|
||||||
|
homebrew:
|
||||||
|
update_homebrew: true
|
||||||
|
when: cloudflare_tap.changed
|
||||||
|
- name: Install cloudflared
|
||||||
|
homebrew:
|
||||||
|
name: cloudflared
|
||||||
|
update_homebrew: true
|
||||||
|
state: present
|
||||||
|
- name: Create cloudflared config directory
|
||||||
|
file:
|
||||||
|
path: /usr/local/etc/cloudflared
|
||||||
|
state: directory
|
||||||
|
- name: Create cloudflared config file
|
||||||
|
copy:
|
||||||
|
dest: /usr/local/etc/cloudflared/config.yaml
|
||||||
|
content: |
|
||||||
|
proxy-dns: true
|
||||||
|
proxy-dns-upstream:
|
||||||
|
- https://dns.bah.io/dns-query
|
||||||
|
- debug:
|
||||||
|
msg: >-
|
||||||
|
To install and start cloudflared service run:
|
||||||
|
sudo cloudflared service install --
|
||||||
|
Then set the DNS server to 127.0.0.1 in System Preferences.
|
||||||
Reference in New Issue
Block a user