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
This commit is contained in:
Orion Poplawski 2019-09-03 18:16:40 -06:00 committed by ansibot
parent f1180f3d3f
commit a09b89f567

View file

@ -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