ideasonpurpose / ansible-playbooks Goto Github PK
View Code? Open in Web Editor NEWAn evolving set of mac user creation, setup and maintenance playbooks being used at Ideas On Purpose
License: MIT License
An evolving set of mac user creation, setup and maintenance playbooks being used at Ideas On Purpose
License: MIT License
Moving out of #26, not a sure thing yet.
Just ran on a clean system, admin Dock came up with question marks
If possible, this is worth pre-installing:
Might be possible, check in com.apple.sidebarlists.plist. Specifically:
<key>networkbrowser</key>
<dict>
<key>Controller</key>
<string>CustomListItems</string>
<key>CustomListItems</key>
<array/>
<key>CustomListProperties</key>
<dict>
<key>com.apple.NetworkBrowser.backToMyMacEnabled</key>
<true/>
<key>com.apple.NetworkBrowser.bonjourEnabled</key>
<false/>
</dict>
</dict>
If both items under CustomListProperties
are false, they're hidden.
Hate this.
Looks like a quick fix: https://gist.github.com/benfrain/7434600#file-set-defaults-sh-L171-L172
Adding package names to this file:
~/Library/Application Support/Sublime Text 3/Packages/User/Package Control.sublime-settings
Will cause any missing packages to be installed when Sublime Text next opens. Curious if this will work before Package Control itself is installed.
Permissions and locations appear to need updating.
I thought this was being forced, but the last run everything ended up as aliases.
Need to add our specfic Helvetica Neue to each machine
http://www.ansible.com/blog/ansible-2.0-launch
probably not much to do, but some tasks can be simplified.
https://bjango.com/mac/skalacolor/
$ brew cask install colorpicker-skalacolor
Possible to modify/inject ~/Library/Preferences/com.apple.print.custompresets.plist
?
If possible, set whatever preference makes Office default to saving locally instead of defaulting to the O365 cloud.
TASK [Send new account picture] ************************************************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment
value uses the full variable syntax ('{{account_images.stdout_lines}}').
This feature will be removed in a
future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
TASK [dock : Dock: Insert Others] **********************************************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment
value uses the full variable syntax ('{{dock_others}}').
This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
TASK [homebrew : Set permissions for multiple users] ***************************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment
value uses the full variable syntax ('{{homebrew_paths}}').
This feature will be removed in a future
release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
TASK [homebrew : Fix ACL permissions for multiple users] ***********************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment
value uses the full variable syntax ('{{homebrew_paths}}').
This feature will be removed in a future
release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
TASK [homebrew : Install applications] *****************************************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment
value uses the full variable syntax ('{{apps}}').
This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
TASK [homebrew_cask : Set permissions for multiple users] **********************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment
value uses the full variable syntax ('{{homebrew_cask_paths}}').
This feature will be removed in a future
release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
TASK [homebrew_cask : Install Applications from Homebrew Cask] *****************
[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment
value uses the full variable syntax ('{{apps}}').
This feature will be removed in a future release.
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
Update Dock for CC 2015 apps
Switch Adobe apps to CC 2014
Add Excel
didn't realize this could be done automatically now! (found while setting up 10.12.1)
sudo xcodebuild -license accept
Someone switched one of our admin accounts to grey. Switch it back to defaults.
https://github.com/mathiasbynens/dotfiles/blob/master/.macos#L279-L280
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
Just failed repeatedly on 10.10.5. Seemed to fail here:
https://github.com/ideasonpurpose/ansible-playbooks/blob/master/roles/mail/tasks/signature.yml#L23
Should be set to "Small" seems to be defaulting to "Medium"
The commented out osascript
solution doesn't work if the user isn't logged in -- which they usually aren't.
I think this is doable with Sqlite modifying the ~/LibraryApplication Support/Dock/desktpopicture.db
database file.
sqlite3 -help
https://gist.github.com/gregneagle/6225747
http://pastebin.com/h4u5U1Kd
"Failed to set permissions on the temporary files Ansible needs to create when becoming an unprivileged user. For information on working around this, see https://docs.ansible.com/ansible/become.html#becoming-an-unprivileged-user"
Accidentally filed as ideasonpurpose/basic-wordpress-vagrant/issues/26
Dock needs updating
Don't know how to catch these. Seems like something is being run on first login that shoves them in at the end.
Homebrew Cask, might be able to automate these:
GitKraken is doing all kinds of stuff right.
some wacky tempfile hacks in the Finder role and a few other places
We finally upgraded, time to install the right version by default
vagrant-hostsupdater and vagrant-triggers seem to be getting used a lot, might as well have them pre-installed:
vagrant plugin install vagrant-hostsupdater
vagrant plugin install vagrant-triggers
Using an OSA Script (found here)
osascript -e 'tell application "Finder" to set desktop picture to POSIX file "/path/to/picture.jpg"'
Use the { role: foo, when: bar }
syntax in the top-level playbook, similar to the mariadb install on joemaller/vagrant-dev-box@9da2ddb725855615
didn't appear in the dock last time. Double-check
I love it and don't plan on giving it up, but removing virtualenvwrapper would cut out several steps that just aren't necessary. Homebrew can install Ansible which is much easier from a clean install.
diskutil rename / new_name
Starting a branch, our office isn't upgrading quite yet
All the info is already there, should pre-configure Git with the new user's name and email.
Looks like it's the GUID here
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.