flyingtongue / macos_automation

Ansible Scripts for macOS Deployments
MIT License
2 stars 0 forks source link

disable internet sharing failure #2

Open flyingtongue opened 7 years ago

flyingtongue commented 7 years ago

fatal: [localhost]: FAILED! => { "changed": true, "cmd": [ "bash", "-c", "defaults read /Library/Preferences/SystemConfiguration/com.apple.nat NAT | grep -c 'Enabled = 1'" ], "delta": "0:00:00.026337", "end": "2016-12-15 22:06:29.162205", "failed": true, "invocation": { "module_args": { "_raw_params": "bash -c \"defaults read /Library/Preferences/SystemConfiguration/com.apple.nat NAT | grep -c 'Enabled = 1'\"", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true }, "module_name": "command" }, "rc": 1, "start": "2016-12-15 22:06:29.135868", "stderr": "", "stdout": "0", "stdout_lines": [ "0" ], "warnings": [] }