my osxc playbook, already forked ! (and in-progress porting from legacy-osxc)
playbooks/ are mostly a mess of bits that get "- include:"ed in all.yml, as well as used for testing.
roles/ my custom osxc roles I've been working on trying to document full options with example playbook use for roles in roles/foo/README.md
- computername: sets the Computer Name normally done via System Prefences - Sharing.
- datetime: sets time zone, enable/disable network time, network time server and menubar clock options equivalent to System Preferences - Date & Time.
- desktop_image sets the User's desktop picture via set_desktops.py, supports an image in your starter dir or a http(s) url.
- dock downloads and configures the dock via kcrawford's dockutil.
- finder_prefs: sets a bunch of Finder preferences normally done via Finder's Pref Pane.
- gatekeeper: enable or disable GateKeeper system wide via spctl.
- locatedb: load or unload locatedb via launchctl.
- loginwindow: customizes text to appear on the system and efi loginwindows.
- mackup: installs and configures lra's mackup.
- screencapture: configures the image type and location of screenshots.
- sleep: set various sleep times for Disks, Display, System via systemsetup and pmset.
- sshd: enable or disable sshd via systemsetup.
- systemprefs_general: sets prefs normally done via System Preferences - General.
- unhide_library: unhides ~/Library in Finder.
- user_image: sets the User's local account image.
- ninjastar.jpg is both for this README.md and user_image role.
note to self:
xcode-select --install
sudo easy_install pip
sudo pip install ansible
git clone https://github.com/ninjabong/starter.git ~/src/github.com/ninjabong/starter
cd ~/src/github.com/ninjabong/starter
ansible-galaxy install -r requirements.yml
ansible-playbook phase1.yml -K
(new shell)
ansible-playbook phase2.yml