adrw / .files

Ansible provisioning of macOS and Linux with security in mind
http://f.adrw.ch
GNU General Public License v3.0
14 stars 2 forks source link
ansible bash dotfiles linux macos zsh

Andrew's .files

Ansible provisioning of macOS and Linux with security in mind

Build Status

Linux

  1. Installs .adrw-aliases, .adrw-functions, bash & zsh powerline themes
$ curl -s https://raw.githubusercontent.com/adrw/.files/master/get-bootstrap.sh | bash -s && ./bootstrap.sh
  1. fin.

Mac

  1. Reboot with option into Recovery parition on a USB
  2. Erase Macintosh HD and install latest macOS from bootable USB
  3. Reboot and setup primary user account
  4. Login and enable Filevault full disk encryption
  5. Provision with command below in Terminal for interactive mode
$ curl -s https://raw.githubusercontent.com/adrw/.files/master/get-bootstrap.sh | bash -s && ./bootstrap.sh

OR provision with command below including any custom arguments in Terminal

$ curl -s https://raw.githubusercontent.com/adrw/.files/master/get-bootstrap.sh | bash -s && ./bootstrap.sh <opts>
  1. Reboot (sometimes required) and fin.

Options

Run bootstrap.sh -h for latest manual of options and arguments which include:

-b    Change homebrew prefix / install path
-d    Change where .files is installed
-g    Detached Git Mode: Stashes all changes in .files directory and resets to origin/master
-i    Ansible Inventory
-l    Logging Level
-m    Run macOS Full Customization Script
-n    Run macOS No Animate Customization Script
-o    Run macOS Homecall Script
-p    Ansible Playbook
-r    Run tasks that require Sudo permissions
-s    Run secure network and hostname change script
-u    Change username that the script is run under
-v    Run tasks that include Ansible Vault

Included Playbooks

Change which is run with -p {play} flag in the bootstrap.sh script

FAQ / Non-Automated Setup Tasks

Resources