Klarrio / ansible-kong-module

Ansible module and library to manage a Kong API gateway

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Kong Module

License: MIT

A collection of Ansible modules to configure the Kong API gateway. Based on the original work of Cristo Crampton.

For an introduction to Kong + Ansible, take a look at Kong Up and Running.

Description

This package aims to provide a stable, idempotent Ansible module for the Kong API gateway.

Requirements

  • Ansible >=2.4
  • ansible-dotdiff

Usage

See the example playbook.

Limitations

  • There's no backward compatibility with old Kong API objects. If you're still using them, consider a migration to Services and Routes.
  • Idempotency for basic-auth is worked around, cause it's impossible to predict an execution result without comparing the new password to the old hash without updating it in Kong. Applying basic-auth credentials will cause a PATCH request to Kong on every execution.

License

MIT.

About

Ansible module and library to manage a Kong API gateway

License:MIT License


Languages

Language:Python 98.6%Language:Shell 1.4%