Rename osx role to macos
This commit is contained in:
parent
e876c26660
commit
bc3059a698
8 changed files with 0 additions and 0 deletions
27
roles/macos/tasks/dock.yml
Normal file
27
roles/macos/tasks/dock.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
- name: Set the icon size of Dock items.
|
||||
osx_defaults:
|
||||
domain: com.apple.dock
|
||||
key: tilesize
|
||||
type: float
|
||||
value: 20
|
||||
notify:
|
||||
- killall Dock
|
||||
|
||||
- name: Automatically hide and show the Dock.
|
||||
osx_defaults:
|
||||
domain: com.apple.dock
|
||||
key: autohide
|
||||
type: bool
|
||||
value: true
|
||||
notify:
|
||||
- killall Dock
|
||||
|
||||
- name: Remove the autohide delay.
|
||||
osx_defaults:
|
||||
domain: com.apple.dock
|
||||
key: autohide-delay
|
||||
type: float
|
||||
value: 0
|
||||
notify:
|
||||
- killall Dock
|
23
roles/macos/tasks/finder.yml
Normal file
23
roles/macos/tasks/finder.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
- name: Hide items on the Desktop.
|
||||
osx_defaults:
|
||||
domain: com.apple.finder
|
||||
key: CreateDesktop
|
||||
type: bool
|
||||
value: false
|
||||
notify:
|
||||
- killall Finder
|
||||
|
||||
- name: 'When performing a search, search the current folder by default.'
|
||||
command: defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
|
||||
notify:
|
||||
- killall Finder
|
||||
|
||||
- name: Disable the warning when changing a file extension.
|
||||
osx_defaults:
|
||||
domain: com.apple.finder
|
||||
key: FXEnableExtensionChangeWarning
|
||||
type: bool
|
||||
value: false
|
||||
notify:
|
||||
- killall Finder
|
7
roles/macos/tasks/keyboard.yml
Normal file
7
roles/macos/tasks/keyboard.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Enable full keyboard access.
|
||||
osx_defaults:
|
||||
domain: NSGlobalDomain
|
||||
key: AppleKeyboardUIMode
|
||||
type: int
|
||||
value: 2
|
6
roles/macos/tasks/main.yml
Normal file
6
roles/macos/tasks/main.yml
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
- include: dock.yml
|
||||
- include: finder.yml
|
||||
- include: keyboard.yml
|
||||
- include: screensaver.yml
|
||||
- include: universal-access.yml
|
7
roles/macos/tasks/screen-capture.yml
Normal file
7
roles/macos/tasks/screen-capture.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Change the location for screenshots.
|
||||
osx_defaults:
|
||||
domain: com.apple.screencapture
|
||||
key: location
|
||||
type: string
|
||||
value: "~/Pictures/Screenshots"
|
14
roles/macos/tasks/screensaver.yml
Normal file
14
roles/macos/tasks/screensaver.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- name: Require a password when exiting the screen saver.
|
||||
osx_defaults:
|
||||
domain: com.apple.screensaver
|
||||
key: askForPassword
|
||||
type: integer
|
||||
value: 1
|
||||
|
||||
- name: Set the delay time for asking for the password.
|
||||
osx_defaults:
|
||||
domain: com.apple.screensaver
|
||||
key: askForPasswordDelay
|
||||
type: float
|
||||
value: 0
|
7
roles/macos/tasks/universal-access.yml
Normal file
7
roles/macos/tasks/universal-access.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
- name: Require a password when exiting the screen saver.
|
||||
osx_defaults:
|
||||
domain: com.apple.universalaccess
|
||||
key: reduceTransparency
|
||||
type: bool
|
||||
value: true
|
Loading…
Add table
Add a link
Reference in a new issue