thoth-station.amun

Thoth : Amun

Ce rôle déploie tous les composants d'Amun dans un projet OpenShift donné.

Variables du rôle

Ce rôle nécessite quelques variables :

AMUN_INFRA_NAMESPACE : "<namespace contenant les templates>"
AMUN_API_NAMESPACE : "<namespace hébergeant l'API Amun>"
AMUN_INSPECTION_NAMESPACE : "<namespace pour exécuter les tâches d'inspection>"
AMUN_API_APP_SECRET_KEY : "<clé API Amun>"
PROMETHEUS_PUSHGATEWAY_HOST : "<hôte Prometheus>"
PROMETHEUS_PUSHGATEWAY_PORT : "<port Prometheus>"
SENTRY_DSN : "<DSN Sentry>"

Exemple de Playbook

Voici un exemple d'utilisation de votre rôle (par exemple, avec des variables passées en paramètres) :

```yaml

  • hosts : localhost connection : local gather_facts : False

    variables supplémentaires

    vars :

    Par défaut, correspond au SA spécifié dans le template amunInspectionNamespace

    SERVICE_ACCOUNT_NAME : "inspector"

    Registre d'images spécifique au cluster (par défaut pour OpenShift)

    pour minishift utilisez <hôte>:5000, par exemple 172.30.1.1:5000

    IMAGE_REGISTRY : docker-registry.default.svc:5000

    roles :

    • role : thoth-station.anum AMUN_INFRA_NAMESPACE : "thoth-test-core" AMUN_API_NAMESPACE : "thoth-test-core" AMUN_INSPECTION_NAMESPACE : "thoth-test-core" AMUN_API_APP_SECRET_KEY : "{{ lookup('env','AMUN_API_APP_SECRET_KEY') }}" PROMETHEUS_PUSHGATEWAY_HOST : "{{ lookup('env','PROMETHEUS_PUSHGATEWAY_HOST') }}" PROMETHEUS_PUSHGATEWAY_PORT : "{{ lookup('env','PROMETHEUS_PUSHGATEWAY_PORT') }}" SENTRY_DSN : "{{ lookup('env','SENTRY_DSN') }}"

```yaml

Licence

GPLv3

Informations sur l'auteur

L'équipe de Thoth Station.

À propos du projet

This role will deploy Thoth's Amun Microservice.

Installer
ansible-galaxy install thoth-station.amun
Licence
gpl-3.0
Téléchargements
116
Propriétaire
Using Artificial Intelligence to analyse and recommend Software Stacks for the Python Ecosystem.