Giter Club home page Giter Club logo

ansible-role-custom-jenkins's Introduction

Shelleg Swarm demo

This is the high level plan ::

So what we are going to see here is the following flow:

  1. Setup 1 Virtual Instances { via Virtualbox } or 1 Instance on AWS
  2. Setup 3 Virtual Instances { via Virtualbox } or 3 Instances on AWS
  3. Setup all the needed packadges, services etc on each of the vms/instances
  4. Configure each node individually
  5. Deply a demo application on top of the Swarm Cluster

This project uses Ansible to automate the entire process.

Once we are done for a kickstart you will need to:

  1. Install perquisites: Vagrnat (& Virtualbox), Ansible, Git + Optional requirements: AWS account for the aws flow.
  2. Invoke Ansible for infra services such as DNS, NTP etc like so: ansible-playbook playbooks/deploy-infra.yml - if you stop here you should have a clean vm named shelleg-infra01 with a Docker daemon you can play arround with Docker ...
  3. Invoke Ansible for swarm cluster like so: ansible-playbook playbooks/deploy-swarm-cluster.yml [ still WIP ]
  4. Deploy your application by running: ansible-playbook playbooks/deploy-app.yml [ still WIP ]
  5. Test the app lets run zulip via compose -> https://github.com/galexrt/docker-zulip/blob/master/docker-compose.yml

To definitely be continued ...

ansible-role-custom-jenkins's People

Contributors

cohencil avatar hagzag avatar ivan44390 avatar ivantikal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

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

ansible-role-custom-jenkins's Issues

ssh-key digest issue

add-credential-ssh.groovy.j2

The script wasn't able to digest root ssh-key upon creation, Despite of the credentials creation the ssh key is missing.

The var which the iteration uses is {{ cj_nodes_sshkey_credentials }} who contains the root ssh-key path. within the script there's a fallback mechanism attached to the content of the private_key var. (Null = create user/pass, "------BEGIN" => direct entry, sshkey path => "BasicSSHUserPrivateKey.FileOnMasterPrivateKeySource")

The desired action is with a path to root's ssh key.

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.