This is a sample Ansible task (http://www.ansibleworks.com) on how to setup Scout (https://www.scoutapp.com) on Ubuntu. It needs to be included in an ansible playbook.
It’s a follow up to a previous [blog]({% post_url 2013-10-21-how-to-create-an-ansible-playbook-to-configure-haproxy %}) describing an Ansible Playbook to setup an HAProxy system. This Ansible task can be included in the HAProxy playbook as well as any other playbooks with something like this:
---
PLAYBOOK: Install scout on Ubuntu
---
- name: scout
hosts: all
user: user-with-sudo
sudo: True
vars:
scout_key: YourScoutAPIKeyFromTheirWebsite
tasks:
- include: tasks/scout.yml
We start by defining a “task” file:
[Read More]