Skip to content
This is a custom webhook listener for use with Ansible Tower
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
roles/tower-webhook Initial Commit Jan 22, 2018
LICENSE
README.md add var reqs Jun 12, 2018
ansible.cfg
hosts Initial Commit Jan 22, 2018
install.retry Initial Commit Jan 22, 2018
install.yml Initial Commit Jan 22, 2018
vars.yml Initial Commit Jan 22, 2018

README.md

Custom Webhook for Ansible Tower

The main purpose of this project is to provide an automated Ansible installer for a custom webhook that works with Ansible Tower. The webhook can be used in conjunction with GitHub (more providers planned to be added later) to allow webhooks in Git to intitiate Tower project (and inventory if hosted inside) updates upon commit/push to a repository.

Built With

The project consists of an Ansible playbook to install and configure the webhook. The webhook binary is provided by Hookdoo

Requirements

  1. A host that is accessible from Git (currently over Port 9000)
  2. Ansible Tower server (currently only a single Tower server is supported) accessible from the webhook target

Installing

  • Customize the vars.yml file accordingly
  • Customize the hosts file as needed - this is the host that will run the webhook
  • The playbook / role uses the following environment vars that need to be before running the playbook - GH_SECRET (used in the GH webhook) and TOWER_PASSWORD (currently just admin user is supported)
  • Run the playbook

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

You can’t perform that action at this time.