Skip to content

Instantly share code, notes, and snippets.

@superdaigo
Created December 4, 2019 15:09
Show Gist options
  • Save superdaigo/e8b7e71af6e4a1be7de620e39e046a7a to your computer and use it in GitHub Desktop.
Save superdaigo/e8b7e71af6e4a1be7de620e39e046a7a to your computer and use it in GitHub Desktop.
IDEA - Setup MacOS Local Environment

To use Homebrew task in the Ansible, both Homebrew and Ansible should be installed in the system. That means at least Homebrew and Ansible must be installed using shell script. Following installation and configuration will be done by Ansible, so that the shell script can be use for up-to-date the local environment.

  1. Shell script
    1. Install homebrew
    2. Install ansible using homebrew
    3. Execute ansible
      • specifying /usr/local/bin/ansible to avoid PATH configured following ansible script
  2. Ansible
    1. Install/Update homebrew packages including Ansible
    2. Configure macOS environments
      • Menu/Status
        • Bluetooth
        • Wi-Fi
        • Battery
        • Date/Time
        • Login user name
      • Screenshot folder
        • Save screenshot files under ~/Pictures/Screenshots
      • Dock
        • Remove all
        • Add Vivaldi, System Preferences, Terminal, Bitwarden
        • Add ~/Pictures/Screenshots folder on the left of ~/Downloads
      • Finder
        • Show all extensions
      • Mission control
        • Configure corner actions
      • Keyboard
        • Caps Lock to Control
    3. Configure apps
      1. Shell
      2. Git
      3. GitHub
      4. SSH config
      5. AWS credentials
      6. .netrc
      7. Editor
        • emacs
        • ddskk
      8. AquaSKK
      9. GPG - openpgp

Credentials

  • pull from Bitwarden With Bitwarden CLI, credentials can be retrieved through command line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment