Giter Club home page Giter Club logo

ansible-roles's Introduction

K3S Utils

Setup project

Create a vars/secrets.yml file with the same variables as in the vars/secrets.yaml.template.

# Encrypt the file
ansible-vault encrypt vars/secrets.yml

# Create a .passwd file and put your encryption password in it.
# You can also choose not to do this and enter the ansible vault password
# every time you issue a command.
touch .passwd
vim .passwd

Setup Virtual Machines

Setup multipass

Set multipass local driver to qemu:

multipass set local.driver=qemu

Running the instances

mage vm:init
mage vm:setup
mage k3s:up
mage longhor:up
mage postgres:up

Teardown Virtual Machines

mage postgres:down   # optional
mage longhorn:down   # optional
mage k3s:down        # optional
mage vm:destroy

ansible-roles's People

Contributors

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