Code Monkey home page Code Monkey logo

ansible-dcos's Introduction

ansible-dcos

Ansible playbook for dc/os

This playbook can be used for AWS as well as on-premises.

For more info: Check here

Variables

  • Check Vars folder
centos_ami: ami-0389a870
aws_region: eu-west-1
aws_vpc_subnet_id: subnet-xxxx
private_domain: example.com
aws_key_name: awskeypair
instance_zone: b
instance_type: t2.large
instance_sg_id: sg-xxxx
instance_sg_id_dcos_master: sg-xxx
instance_sg_id_dcos_slave: sg-xxx
instance_profile: "dcos"
instance_role_bs: dcos-bs
instance_role_master: dcos-master
instance_role_slave: dcos-slave
aws_env: development

Executing playbook in aws

For dcos bootstrap server:
==========================
ansible-playbook playbook/dcos-bs.yml --private-key <path to your aws key>

For dcos master server:
=======================
ansible-playbook playbook/dcos-master.yml --private-key <path to your aws key>

For dcos slaves server:
=======================
ansible-playbook playbook/dcos-slaves.yml --private-key <path to your aws key>

For dcos deploy:
================

ansible-playbook playbook/dcos-setup.yml --private-key <path to your aws key>

To run in on-premises, remove the aws parts in the playbook & use it as below. Also alter the inventories according to your on-premise setup

Example: For bootstrap node
===========================

- name: Configured instances
  hosts: dcos-bs
  gather_facts: true
  become: yes
  become_user: root
  vars:
    instance_role: dcos-bs
  pre_tasks:
    - include_vars: ../vars/common.yml
  roles:
    - common

ansible-dcos's People

Contributors

vishnudxb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.