lafarer / ansible-role-osx-defaults Goto Github PK
View Code? Open in Web Editor NEWAnsible role to configure defaults on OSX.
Ansible role to configure defaults on OSX.
Defaults availability depends on macOS version.
Defaults implementation sometimes depends on macOS version (Desktop background image for example).
Thanks for the package, this may likely not be an issue but rather my limited knowledge of Ansible. Whichever, I'm unable to get the settings to make the changes to my mac.
My playbook looks like this:
---
- hosts: all
vars_files:
- default.config.yml
roles:
- { role: lafarer.osx-defaults }
And my default.config.yml
.
Configure_Bluetooth: yes
Bluetooth_ShowInMenuBar: no
target_user_id: '<my_username>'
The relevant portion of the output:
TASK [lafarer.osx-defaults : Bluetooth - Show Bluetooth in menu bar] *************************************************************************************************************************************************************
skipping: [127.0.0.1]
It keeps skipping the Bluetooth section even though I have manually turned on the Bluetooth menu from settings.
I did a check to make sure that the ansible_user_id
matches the target_user_id
as well.
I noticed two other things that may or may not be related:
handlers
directory? I didn't see where the handlers were defined explicitly like the handlers
section in this guide.Bluetooth_ShowInMenuBar is true
but it seems that we need to cast strings to bool as shown here.I'm running Ansible 2.10.4.
This is an awesome role, by far the most comprehensive I've seen.
Is there any chance you'd be willing to start tagging your releases?
(That way dependent playbooks could refer to tags with known functionality, and not pull off master, which might contain breaking changes. I think this would also give you a safe way to introduce breaking changes...)
Regardless, I will definitely be using this role, thanks for all the time and effort you put into it.
(I'm working on this project currently, I would like to use this role as part of my own machine's profile.)
Defined as Safari_HistoryAgeInDaysLimits
(plural) in vars but referred to as Safari_HistoryAgeInDaysLimit
(singular) in tasks.
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.