Giter Club home page Giter Club logo

ansible-role-osx-defaults's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible-role-osx-defaults's Issues

Categorise tasks/groups per os version

Defaults availability depends on macOS version.
Defaults implementation sometimes depends on macOS version (Desktop background image for example).

  • Tasks/groups should be tagged/labelled with macOS versions they apply to (as done here https://www.defaults-write.com/).
  • Tasks/groups should be automatically disabled based on the macOS version.

Settings changed are skipped

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.

image

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:

  • Does Ansible auto-discover handlers in the handlers directory? I didn't see where the handlers were defined explicitly like the handlers section in this guide.
  • This checks if 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.

Tagged Releases

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.)

Safari HistoryAgeInDaysLimit(s)

Defined as Safari_HistoryAgeInDaysLimits (plural) in vars but referred to as Safari_HistoryAgeInDaysLimit (singular) in tasks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.