Giter VIP home page Giter VIP logo

ansible-ketad's Introduction

Ansible Xishu Ketad Role

Setup

Requirements

  • Ansible v2.10+
  • When using Ansible on Windows, requires the ansible.windows collection to be installed:
    ansible-galaxy collection install ansible.windows

Installation

Install from Ansible Galaxy:

ansible-galaxy install xishu.ketad

or just copy xishu.ketad role directory to ~/.ansible/roles/

To deploy the Xishu Ketad on hosts, add the role, token, endpoints and other variables to your playbook:

- hosts: servers
  roles:
    - { role: xishu.ketad, become: yes }
  vars:
    keta_url: "<YOUR_KETA_DB_URL>" # required, like: http://ketadb
    keta_token: "<YOUR_KETA_DC_TOKEN>" # required
    keta_endpoints: "<YOUR_KETA_DC_ENDPOINTS>" # required, like: ip1:port ip2:port
    keta_tags: "<YOUR_KETA_DC_TAGS>" # required
    keta_ketad_arch: "<YOUR_KETA_DC_ARCH>" # optional, default use host architecture
    keta_ketad_version: "<YOUR_KETA_DC_VERSION>" # optional, default use the lastest ketad
    keta_ketad_path: "<YOUR_KETAD_PATH>" # optional
    keta_ketad_boot: "<TRUE_OR_FALSE>" # optional, default false, only work with root user
    keta_region: "<YOUR_KETA_DC_REGION>" # optional
    keta_net_interface: "<YOUR_KETA_DC_NET_INTERFACE>" # optional
    keta_no_login: "<TRUE_OR_FALSE>" # optional, default false, only work with windows

You can use this ansible-playbook script like this:

# deploy
ansible-playbook installer.yaml

# host with password
ansible-playbook installer.yaml --ask-pass

# dry-run
ansible-playbook installer.yaml --check

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.