-
Notifications
You must be signed in to change notification settings - Fork 3
ws1_update_assignments
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.
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
Input Variables:
- ws1_api_url
- ws1_oauth_client_id
- ws1_oauth_client_secret
- ws1_oauth_token_url
- ws1_api_token
- ws1_api_username
- ws1_api_password
- ws1_b64encoded_api_credentials
- ws1_console_url
- ws1_force_import
- ws1_import_new_only
- ws1_groupid
- ws1_smart_group_name
- ws1_push_mode
- ws1_app_assignments
- ws1_update_assignments
- ws1_app_versions_prune
- ws1_app_versions_to_keep
- ws1_app_versions_to_keep_default