-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add macOS support #437
Add macOS support #437
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for docs!
I added another commit to fix ansible-lint issues. For some reason, ansible-lint started complaining on files that weren't touched by this PR. Technically it would've been better if I did another PR to fix the issues, but I figured that this would be easier and avoid rebasing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments but LGTM.
Co-authored-by: Albert Vaca Cintora <[email protected]>
Co-authored-by: Albert Vaca Cintora <[email protected]>
This PR adds macOS support to our ansible role. Some notes:
dmg
package work, the package will install a login item and start a user-specific LaunchAgent if (and only if)ansible_user
is also currently logged in via GUI. There are tasks that handle this by deactivating the LaunchAgent and login item when this happens.datadog_macos_user
and defaults toansible_user
.dmg
download URL by specifyingdatadog_macos_download_url
.Huge thanks go to @lc-applause for sending the basis of this functionality!