Ansible role to manage Gandi resources
Go to file
Luke Murphy d9bae5646a
Some checks failed
continuous-integration/drone/push Build is failing
Prepare more docs
2020-03-28 18:28:37 +01:00
library Remove __init__ and exempt doc for QA (long lines) 2020-03-28 18:06:00 +01:00
test Try to unit test but give up for now 2020-03-28 17:55:36 +01:00
.drone.yml Bootstrapping with python support files 2020-03-28 16:49:11 +01:00
.gitignore Bootstrapping with python support files 2020-03-28 16:49:11 +01:00
LICENSE GPL that sucker 2020-03-28 01:04:31 +01:00
mypy.ini Bootstrapping with python support files 2020-03-28 16:49:11 +01:00
pyproject.toml Bootstrapping with python support files 2020-03-28 16:49:11 +01:00
README.md Prepare more docs 2020-03-28 18:28:37 +01:00
requirements.txt Add init for new library 2020-03-28 01:01:56 +01:00
setup.cfg Try to unit test but give up for now 2020-03-28 17:55:36 +01:00
tox.ini Bootstrapping with python support files 2020-03-28 16:49:11 +01:00

autonomic.gandi

Build Status

Ansible libraries for manging Gandi resources.

Requirements

$ pip install ansible==2.6.9 "dns-lexicon[gandi]==3.3.19"

These should be present on the localhost where you run Ansible.

Gandi DNS Setup

If you want to use the gandi_dns module you need to prepare the environment.

export PROVIDER="gandi"
export LEXICON_GANDI_AUTH_TOKEN="${pass show users/decentral1se/gandi/api_key)"
export LEXICON_GANDI_API_PROTOCOL="rest"

You can test that everything is working by running the following.

$ lexicon gandi list autonomic.zone

Usage

Include an entry in your requirements.yml like so.

- src: https://git.autonomic.zone/autonomic-cooperative/autonomic.gandi
  version: 0.0.1
  name: autonomic.gandi

See the releases for which is the latest version.

Then make sure to download the role with ansible-galaxy install -r requirements.yml.