ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
822 stars 1.52k forks source link

[Launchd] Add a param to pass to the launchd -S option #8202

Open ClementDelannoySlateDigital opened 6 months ago

ClementDelannoySlateDigital commented 6 months ago

Summary

For some versions of macOS, no service can be loaded or run if an Aqua session is not opened (it means you have to login via the GUI). This is a PITA if you try to administrate your machines remotely. I found that you can give an option to launchctl to launch services in a differents context. For instance, launchctl unload/load -S Background yourservice.plist

You may find more details here: https://github.com/buildkite/docs/issues/353

I'll try to find some time for a PR Thanks !

Clément

Issue Type

Feature Idea

Component Name

launchd

Additional Information

No response

Code of Conduct

ansibullbot commented 6 months ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 6 months ago

cc @martinm82 click here for bot help