Move macOS tasks into the role
Further cleanup and categorisation needed. #7
This commit is contained in:
parent
31731745e0
commit
5a748113b0
6 changed files with 28 additions and 31 deletions
|
@ -3,7 +3,7 @@
|
|||
osx_defaults:
|
||||
domain: com.apple.dock
|
||||
key: tilesize
|
||||
type: float
|
||||
type: int
|
||||
value: 20
|
||||
notify:
|
||||
- killall Dock
|
||||
|
|
|
@ -3,5 +3,7 @@
|
|||
- include: dock.yml
|
||||
- include: finder.yml
|
||||
- include: keyboard.yml
|
||||
- include: menu-bar.yml
|
||||
- include: moved-from-tasks.yml
|
||||
- include: screensaver.yml
|
||||
- include: universal-access.yml
|
||||
|
|
22
roles/macos/tasks/menu-bar.yml
Normal file
22
roles/macos/tasks/menu-bar.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
- name: Hide by default
|
||||
osx_defaults:
|
||||
domain: 'Apple Global Domain'
|
||||
key: _HIHideMenuBar
|
||||
type: bool
|
||||
value: true
|
||||
|
||||
- name: Show battery percentage
|
||||
osx_defaults:
|
||||
domain: com.apple.menuextra.battery
|
||||
key: ShowPercent
|
||||
type: string
|
||||
value: yes
|
||||
|
||||
- name: Show the current date
|
||||
osx_defaults:
|
||||
domain: com.apple.menuextra.clock
|
||||
key: DateFormat
|
||||
type: string
|
||||
value: 'EEE d MMM HH:mm'
|
||||
|
50
roles/macos/tasks/moved-from-tasks.yml
Normal file
50
roles/macos/tasks/moved-from-tasks.yml
Normal file
|
@ -0,0 +1,50 @@
|
|||
---
|
||||
- name: Check for software updates daily, not just once per week
|
||||
osx_defaults:
|
||||
domain: com.apple.SoftwareUpdate
|
||||
key: ScheduleFrequency
|
||||
type: integer
|
||||
value: 1
|
||||
|
||||
- name: Download newly available updates in background
|
||||
osx_defaults:
|
||||
domain: com.apple.SoftwareUpdate
|
||||
key: AutomaticDownload
|
||||
type: integer
|
||||
value: 1
|
||||
|
||||
- name: Install System data files & security updates
|
||||
osx_defaults:
|
||||
domain: com.apple.SoftwareUpdate
|
||||
key: CriticalUpdateInstall
|
||||
type: integer
|
||||
value: 1
|
||||
|
||||
- name: Automatically download apps purchased on other Macs
|
||||
osx_defaults:
|
||||
domain: com.apple.SoftwareUpdate
|
||||
key: ConfigDataInstall
|
||||
type: integer
|
||||
value: 1
|
||||
|
||||
- name: Turn on app auto-update
|
||||
osx_defaults:
|
||||
domain: com.apple.commerce
|
||||
key: AutoUpdate
|
||||
type: boolean
|
||||
value: true
|
||||
|
||||
- name: Allow the App Store to reboot machine on macOS updates
|
||||
osx_defaults:
|
||||
domain: com.apple.commerce
|
||||
key: AutoUpdateRestartRequired
|
||||
type: boolean
|
||||
value: true
|
||||
|
||||
- name: 'Finder: allow quitting via ⌘+Q; doing so will also hide desktop icons'
|
||||
osx_defaults:
|
||||
domain: com.apple.finder
|
||||
key: QuitMenuItem
|
||||
type: boolean
|
||||
value: true
|
||||
|
|
@ -10,5 +10,5 @@
|
|||
osx_defaults:
|
||||
domain: com.apple.screensaver
|
||||
key: askForPasswordDelay
|
||||
type: float
|
||||
type: int
|
||||
value: 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue