!download¶
Downloads a file from a specified URL or git release.
Note
This action by default overrides the iso action property to true, meaning this will run during ISO injection rather than during the OOBE.
Required Parameters¶
Parameter |
Description |
Type |
|---|---|---|
|
Specifies the destination file name or path for the download. If no path root is specified, it will download into the playbook’s active Executables directory. |
string |
|
Specifies a direct URL to download from.
|
string |
|
Specifies a git repository to download from. Note that |
string |
|
Specifies regular expression to filter |
string |
Optional Parameters¶
Parameter |
Description |
Type |
Default |
|---|---|---|---|
|
Indicates whether or not to overwrite an existing file at |
bool |
false |
|
Specifies a package name for matching with a software |
string |
None |
Examples¶
Downloads Brave browser standalone installer executable and runs it:
- !download:
option: "browser-brave"
url: 'https://github.com/brave/brave-browser/releases/latest/download/BraveBrowserStandaloneSetup.exe'
destination: "BraveBrowserStandaloneSetup.exe"
- !run:
exeDir: true
exe: "BraveBrowserStandaloneSetup.exe"
args: '/silent /install'
weight: 70
Downloads the latest Ungoogled Chromium release from the winchrome GitHub repository:
- !download:
git: 'https://github.com/macchrome/winchrome'
regex: 'chromium-.*_Win64\.7z'
destination: "ugc.7z"

Amelabs Docs