Giter Club home page Giter Club logo

openbalena-ansible's Introduction

Ansible Playbook for deploying the OpenBalena server

Project setup

This playbook expects a Linux server that is reachable via a domain with open ports 22,80,443 and 3128. The domain needs to be configured so that CNAME records for the following subdomains point to your server: api, registry, vpn, s3, tunnel

Specify your configuration details in the inventory.yaml file. The username and password credentials will later be used to authenticate with your OpenBalena instance.

Additionally, you will need an SSH key file that allows connecting to your server. You can also change the location of this file in the inventory.yaml file.

Installing OpenBalena using Ansible

To install OpenBalena, you need to have Ansible installed. After finishing the configuration, you can deploy your ansible playbook.

ansible-playbook -i inventory.yaml playbook.yaml

Using OpenBalena

For information about using OpenBalena, have a look at their official documentation: https://open-balena-docs.balena.io/getting-started/

To connect to balena, you need to add the balena URL to your local balena configuration file ~/.balenarc.yml:

balenaUrl: 'your-domain-here.com'

Now you can use your balena CLI to log in with the credentials you have set in the inventory.yaml file. This enables you to use the balena CLI as usual.

balena login
balena fleets

Known issues

If the task Run quickstart script runs forever, this might be because an issue of the OpenBalena quickstart script. Have a look at this ticket for further information: Quickstart script prompting for PEM password when using OpenSSL 3

openbalena-ansible's People

Contributors

florianluediger avatar

Watchers

 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.