Ansible Playbook linked in documentation working?

  • 5 October 2020
  • 4 replies

This link from the documentation redirects me to the home page. Is the playbook still available for download?

4 replies


Hi Robert! Thank you for making us aware of this broken link. We’re working on a fix right now.


The docs have been updated. Thanks again for letting us know about that!

Userlevel 7

I’ve also given you the Bug Finder badge @RobertB, and shoot me a PM if you’d like some Automox swag as a thank you as well.


I wanted to post a quick addition to this - I found an error in the playbook and in the command listed in the kb article:

Deploying with Ansible
You can distribute the Automox agent with Ansible using the Ansible playbook: get-automox.yml. Contact Automox Support for further assistance.

From the directory where the ‘get-automox.yml’ file is located, invoke the playbook with the following command, substituting your unique user key (zone key) as indicated: 

ansible-playbook get-automox.yml --extra-vars "zone=YOUR-ZONE-KEY-HERE



In get-automox.yml:

    - name: Ensure amagent is enabled and started
        name: amagent 
        state: running <- Causes the playbook to fail.
        enabled: yes

state: running is not a valid state.  
Changing it to state: started fixes the problem.


Also, the command fails: ansible-playbook get-automox.yml --extra-vars "zone=YOUR-ZONE-KEY-HERE


Changing the command to
ansible-playbook -i hosts get-automox.yml --extra-vars “organization=ZONE_KEY”

The variable zone does not exist, I think it may have been updated but the documentation doesn’t reflect the change.  Also the command is missing a trailing double quote.

In get-automox.yml:

    automox_url:{{ organization }} 

The organization variable is where the zone variable would be.