threatstack / threatstack-ansible

Ansible for installing Threatstack Agent
https://www.threatstack.com
MIT License
23 stars 17 forks source link

Harden tsagent setup task. #59

Closed benpatterson closed 4 years ago

benpatterson commented 5 years ago

Doing this in two ways:

  1. Retry if a failure is detected.
  2. Ensure we re-run tsagent setup if the agent has not been registered.

The second case is important for re-running ansible if previous failures leave the agent in a bad state.