Giter Site home page Giter Site logo

dark-tower's Introduction

DEPRECATED This repository is not used anymore

Overview

The Dark Tower repo contains the Ansible Playbooks and roles for the back-end component, Dark Tower, of the Ansible Babylon Tower Project. These are used for final configuration, and customization of a Ansible Tower cluster and also the core job-runner playbook and associated roles to allow a Babylon Tower to be remotely called to deploy, teardown, idle and start infrastructure using ansible based deployers such as agnosticd and ansible workshops.

Babylon Tower Project Overview

Babylon Tower is an Ansible Tower based projects which allows dynamic deployments of environment via Ansible based deployers such as AgnosticD or the Ansible Workshop deployer.

Once deployed, with a single project and job-template called the job-runner, Babylon can create all necessary artifacts to automatically download an Ansible based deployer and launch the requested action.

Documentation

Primary Components

  • job-runner.yml - Entry point for all jobs (deploy, teardown, idle, start)

The job runner

===

dark-tower's People

Contributors

fridim avatar jkupferer avatar mikecali avatar prakhar1985 avatar tonykay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dark-tower's Issues

P2: Generate unique names for core Tower objects

Current naming schema allows potential collisions i.e. 2 forks of the same deployer with the same tags would over-write each other's projects.

Solution: add a unique component to the identifiers. e.g. a hash of the git repo, md5, etc

  • Projects
  • Job Templates

Master Branch: The conditional check '{{ job_vars['__meta__']['secondary_deployer']['scm_url'] }} is defined' failed.

{
"msg": "The conditional check '{{ job_vars['meta']['secondary_deployer']['scm_url'] }} is defined' failed. The error was: error while evaluating conditional ({{ job_vars['meta']['secondary_deployer']['scm_url'] }} is defined): 'dict object' has no attribute 'secondary_deployer'\n\nThe error appears to be in '/var/lib/awx/projects/_6__babylon/roles/create-job-manifest/tasks/main.yml': line 14, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- when: "{{ job_vars['meta']['secondary_deployer']['scm_url'] }} is defined"\n ^ here\nWe could be wrong, but this one looks like it might be an issue with\nmissing quotes. Always quote template expression brackets when they\nstart a value. For instance:\n\n with_items:\n - {{ foo }}\n\nShould be written as:\n\n with_items:\n - "{{ foo }}"\n",
"_ansible_no_log": false
}

confirm-tower-project contains legacy vars

Not all the tower-project arguments use the meta dictionary. These need to be converted:

scm_update_on_launch:       "{{ babylon_scm_update_on_launch | default('no') }}"
scm_update_cache_timeout:   "{{ babylon_scm_update_cache_timeout }}"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.