autopkg / almenscorner-recipes

AutoPkg recipes for Munki and Intune
Apache License 2.0
2 stars 1 forks source link

add option to add group as exclude #6

Closed almenscorner closed 7 months ago

almenscorner commented 7 months ago

Added new option for assigning a group using the Exclude target.

To exclude a group, add exclude to assignment_info and set to true.

<key>assignment_info</key>
<array>
    <dict>
        <key>exclude</key>
        <true/>
        <key>group_id</key>
        <string>xxxx-xxxxx-xxxxx-xxxxxx</string>
        <key>intent</key>
        <string>Required</string>
    </dict>
</array>