Skip to content

This is a custom webhook listener for use with Ansible Tower

License

Notifications You must be signed in to change notification settings

ArctiqTeam/tower-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This is a custom webhook listener for use with Ansible Tower

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages