Skip to content

ws1_update_assignments

Mart Verburg edited this page Jan 23, 2025 · 2 revisions

Description

The ws1_update_assignments key must be set to true to apply new assignments staggered by date, to automate staging.
Typically from small to larger groups like for testing, quality assurance group, user acceptance testing, to production or similar.
In doing so, the processor will consider if new assignments need to be made for the current software package version on each autopkg run.

For this use, you will also need to set ws1_import_new_only to false so imported app versions from earlier Autopkg runs are processed again for new assignments. See ws1_import_new_only.


Defaults to false - meaning only if a package was imported into WorkSpace ONE in the current session will ws1_app_assignments be processed.


Example Usage:

The recommended way to pass this setting is in your GitHub Action workflow or in your launcher script if running for testing on your local Mac.
export AUTOPKG_ws1_update_assignments="false"


Run autopkg on command-line and add argument
--key ws1_update_assignments=false


It is also possible to add the setting to the input variables of your recipe, but in this case you would need to add it to all your recipes.

<key>ws1_update_assignments</key>
<string>false</string>

Required: False