You can distribute the Automox agent with Ansible using the Ansible playbook: get-automox.yml. curl -sS | sudo bash service amagent start Deploying with Ansible Your key can be found in Add Devices dialog window.
Note: You must replace “accesskey” in the following command with your unique user key (zone key). Add the following to the deployment command: service amagent start To bulk deploy the agent for Linux, you must edit the installer command.
You can deploy the Automox agent on a Linux operating system by using the original command that was required to download the agent installer.įollow these steps to copy the curl command.Įditing the Curl Command for Linux Bulk Deployment $env:TEMP\Install-AxAgentMsi.log Deploying on Linux If you need to debug the installation process performed by this script, you can find logging information in the following file on the device: Install-AxAgentMsi.ps1 -AccessKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Install-AxAgentMsi.ps1 -AccessKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -GroupName "Accounts Payable"Įxample 3: Deploy the Automox agent for your zone inside the default group. Install-AxAgentMsi.ps1 -AccessKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx -GroupName "Accounts Payable" -ParentGroupName "Finance"Įxample 2: Deploy the Automox agent to your zone inside the group "Accounts Payable", which does not belong to a parent group. If you do not specify a parent group, it ignores the group assignment.Įxample 1: Deploy the Automox agent to your zone inside the group "Accounts Payable", which belongs to a parent group "Finance". A parent group parameter is only required if the destination group is under a parent group. Note: Your destination group can either be under a parent group or stand alone. -ParentGroupName "My Parent Group Name".Optionally, if you want your device to join a group at the time of installation, you need to specify a destination Group Name and a Parent Group Name. This is a required parameter that associates the device with your Automox zone. This script takes the following command line parameters:
Add the following code to the deployment command: launchctl load /Library/LaunchDaemons/ To bulk deploy the agent on macOS, you must edit the installer command.
You can deploy the Automox Agent on a macOS operating system by using the original command that was required to download the agent installer.įollow these steps to copy the curl command:
From the console you can also retrieve your access key from the Settings > Keys tab. When adding a new device, the Add Devices window provides the access key (unique user key). Note: You will need your access key for the following scripts.