Giter Club home page Giter Club logo

roq-ansible's Introduction

roq-ansible

Ansible roles for server provisioning.

Features

  • Typical server configuration
    • Keep kernel up to date
    • Install Docker
    • Install Miniforge
    • Install ClickHouse
    • Install InfluxDB
    • Install Redis
    • Install Prometheus
    • Install Grafana
    • Install NGINX
  • Roq Gateways
    • Install binaries (Conda or Docker)
    • Generate config files (using YAML)
    • Install systemd service and timer scripts

Direct third-party dependencies

Operating Systems

  • Linux

Prerequisites

Ansible 2.7 (or higher) is required.

This is how to install Ansible using Conda

wget -N https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh

bash Miniforge3-Linux-x86_64.sh -b -u -p ~/conda

source ~/conda/bin/activate

conda install -y \
    ansible-playbook

Using

Create inventory file

cat > server << EOF
[SERVER]
server ansible_host="localhost" ansible_user="ansible" become_user="root"

[trading]
server

[clickhouse]
server

[roq_clickhouse]
server

[roq_coinbase_pro]
server

[roq_deribit]
server
EOF

This assumes you want to install to localhost and that the ansible user can get root access.

Run the playbook

ansible-playbook -i server site.yml --ask-become-pass

Further details can be found here.

License

The project is released under the terms of the MIT license.

Links

roq-ansible's People

Contributors

thraneh 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.