osx_defaults - doc tweaks (#60881)

* [osx_default] We are looking for the "defaults" executable, not "osx_defaults"

* [osx_default] Add example for setting system wide default

(cherry picked from commit a09b89f567)
pull/62162/head
Orion Poplawski 5 years ago committed by Toshio Kuratomi
parent a8a7cc0e58
commit 726dafac3d

@ -70,7 +70,7 @@ options:
default: present
path:
description:
- The path in which to search for C(osx_defaults).
- The path in which to search for C(defaults).
type: str
default: /usr/bin:/usr/local/bin
notes:
@ -92,6 +92,13 @@ EXAMPLES = r'''
value: Centimeters
state: present
- osx_defaults:
domain: /Library/Preferences/com.apple.SoftwareUpdate
key: AutomaticCheckEnabled
type: int
value: 1
become: yes
- osx_defaults:
domain: com.apple.screensaver
host: currentHost

Loading…
Cancel
Save