You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alpha Chen 85c5f80481
[meta] s/osx/macos/
3 years ago
..
attitude-adjuster [ansible][attitude-adjuster] put home-assistant on the host network 5 years ago
docker Bump nokogiri from 1.11.4 to 1.12.5 in /ansible/docker/rzz 3 years ago
irregular-apocalypse [ansible][irregular-apocalypse] install npm 5 years ago
on-fire-within [meta] lots of ansible updates 3 years ago
playbooks [meta] s/osx/macos/ 3 years ago
roles [meta] s/osx/macos/ 3 years ago
.gitattributes [ansible][on-fire-within] minio 5 years ago
.gitignore [ansible] on-fire-within setup 5 years ago
README.md [meta] reorganize ticklist 3 years ago
ansible.cfg [meta] go back to hosts.private 4 years ago
beats-working.yml [meta] lots of ansible updates 3 years ago
congenital-optimist.yml [meta] set pi-hole password for congenital optimist 7 years ago
main.yml [meta] s/osx/macos/ 3 years ago
ramble-hard.yml [meta] babybuddy 3 years ago

README.md

ansible

Usage

# Install Homebrew
`/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`

# Load Homebrew
eval "$(/opt/homebrew/bin/brew shellenv)"

# Install Ansible
brew install ansible

# Clone dotfiles
git clone --recursive https://github.com/kejadlen/dotfiles.git ~/.dotfiles

# Run Ansible
cd ~/.dotfiles/ansible
echo "localhost ansible_connection=local" > hosts.private
ansible-playbook main.yml --ask-become-pass
  • Change computer name under System Preferences -> Sharing

  • 1Password: the first app to set up, since it has the keys for everything else

    • Don't show Archive vaults
  • syncthing: start syncing ~/sync

    • ln -s ~/sync/dotfiles ~/.dotfiles
  • Alfred

    • Hotkey
    • Clipboard
    • Appearance
  • Hammerspoon

  • Firefox

    • Dark Reader

macOS System Preferences

  • Desktop & Screen Saver
  • Siri
    • Disable Show Siri in menu bar
  • Notifications & Focus
    • Messages - disable sound
  • Sound
    • Disable startup sound
    • Disable user interface sound effects
  • Touch ID
    • Rename to "right index"
    • Add left index
  • Keyboard
    • Modifier keys
  • Displays
    • Scaled
    • Night Shift
  • Sharing
    • Remote Login

Other Applications

In rough order of importance:

  • Arq (for MailMate)
  • MailMate
    • ~/Library/Application Support/MailMate/*.plist
    • ~/Library/Application Support/MailMate/Resources/ (doesn't seem to exist?)
    • ~/Library/Application Support/MailMate/Bundles/ (doesn't seem to exist?)
    • ~/Library/Preferences/com.freron.MailMate.plist
  • Fantastical
  • Contacts (Monica)
  • Bartender
  • Dash
  • Reeder
  • Shareful
  • Things
  • Anki
  • Social
    • Twitterrific
    • Slack
    • Discord
    • Telegram
    • Signal

Etc

  • Install Xcode (mas install 497799835)

Development

Ansible tags are indispensable when tweaking the config:

- command: echo debug
  tags: debug
ansible-playbook main.yml --ask-become-pass --tags=debug

Raspberry Pi

This should be moved elsewhere...

  1. Download Raspberian Stretch Lite

  2. Install Etcher: brew cask install balenaetcher

  3. Flash the SD card

  4. Enable SSH

  5. Run the Ansible playbooks

  6. Add the host to the pi_bootstrap group and set the password variable on the host

  7. Connect to the host via SSH (so Ansible can piggyback off the existing connection and not have to deal with password shenanigans)

  8. ansible-playbook playbooks/pi/bootstrap.yml

  9. ansible-playbook {{ host }}/main.yml

etc

  1. Use raspi-config to set up the WiFi
  • Additional setup
  • Add scan_ssid=1 to /etc/wpa_supplicant/wpa_supplicant.conf
  • Restart WiFi: wpa_cli -i wlan0 reconfigure
  1. Use raspi-config to set the keyboard layout