Giter Site home page Giter Site logo

ansible_edge_playbooks's Introduction

ansible_edge_playbooks

Fleet_HyperCore_Config.yml is the main playbook that imports other playbooks and roles for edge VM deployment and configuration

Individual playbooks and roles exist for each VM to be deployed and configured including an Ubuntu 20.04 cloud image that is used when initially creating each workload VM - pharmacy, pos, and security VMs

The template is checked first using scale_computing.hypercore.vm_import module which will import the VM using parameters from inventory file if the template doesn't exist. Once it does the next task uses scale_computing.hypercore.vm_params to set various attributes on the template VM including setting vcpus = 0 which will prevent the template from accidentally being started which may destroy it's ability to be used as a provisioning template.

For eaxh workload VM - the role will use the scale_computing.hypercore.vm_clone module to determine if the VM exists and if it does not will clone VM from template providing cloud-init data to configure each VM using variables from inventory

If the VM exists, or after it is clone, next task uses scale_computing.hypercore.vm_disk module to set disk configuration including resizing disks and creating any additional virtual disks specified.

Following that task - the scale_computing.hypercore.vm_params: module configures specified virtual machine paramters including power_state: start which will result in the VM being started if it is not.

Healthcheck.yml playbook runs a set of "health check" roles against inventory performing tasks such as cleaning up VM's that should not exist across fleet, looking for VM's using emulated IDE disks vs. performant virtio devices and checking HyperCore version of cluster vs. desired version set in inventory - with the ability to apply version update to cluster.

Below is an example of what a specific site configuration should look like image

A recorded demonstration of these playbooks is available here

ansible_edge_playbooks's People

Contributors

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