From a09b89f567f9cfed12900f21fa75df5a0206a68f Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 3 Sep 2019 18:16:40 -0600 Subject: [PATCH] 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 --- lib/ansible/modules/system/osx_defaults.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/system/osx_defaults.py b/lib/ansible/modules/system/osx_defaults.py index dfdb7bc5dbf..449c049cc58 100644 --- a/lib/ansible/modules/system/osx_defaults.py +++ b/lib/ansible/modules/system/osx_defaults.py @@ -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