Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ansible-macos-settings

Ansible role to manage settings in macOS.

Build Status Github All Releases GitHub forks GitHub stars GitHub watchers Twitter Follow License

Requirements

  • Ansible 2.3

ansible.cfg

hash_behaviour = merge

Install

Just add the role to your requirements.yml file:

- src: https://github.com/feffi/ansible-macos-settings.git
  name: feffi.macos-settings

Role Variables

All role based variables are listed below, along with default values:

macos_settings:
  # Set system boot up chime volume
  boot_volume: false #"00%"

  # Disable Notification Center and remove the menu bar icon
  notification_center: false

  # Enable or disable sudden motion sensor (not userfull on SSD/Flash drives)
  sudden_motion_sensor: false

  # Start/stop iTunes listening to the keyboard media keys
  itunes_media_keys: true

  # Hide Spotlight tray-icon (and subsequent helper)
  spotlight_hide_tray_icon: false

  # Rebuild the spotlight index from scratch
  spotlight_reindex: false

Dependencies

None.

Example Playbook

    - hosts: all
      vars:
        macos_settings:
          boot_volume: false
          notification_center: false
          sudden_motion_sensor: false
          itunes_media_keys: true
          spotlight_hide_tray_icon: false
          spotlight_reindex: false

      roles:
        - { role: feffi.macos-settings }

Or with local parameters:

    - hosts: all
      roles:
        - { role: feffi.macos-settings,
            macos_settings: {
              boot_volume: false,
              notification_center: false,
              sudden_motion_sensor: false,
              itunes_media_keys: true,
              spotlight_hide_tray_icon: false,
              spotlight_reindex: false
            }
          }

About

Ansible role to manage macOS settings.

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.