GithubHelp home page GithubHelp logo

servusdei2018 / infra Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 12 KB

Collection of scripts/playbooks for managing my cloud infrastructure.

Home Page: https://status.bracy.dev

License: MIT License

ansible

infra's Introduction

infra

Collection of scripts/playbooks for managing my cloud infrastructure.

Getting Started

Although these playbooks were created for original use, they may be easily repurposed for use elsewhere.

To get up and running, populate servers_example.yml with your server information, rename it to servers.yml and run

$ ansible-playbook -i servers.yml ./playbooks/update_apt.yml

to initiate an apt update and upgrade on all of your servers.

Playbooks

  • update_apt.yml: performs an apt upgrade on all servers, rebooting each system if necessary

  • update_bot.yml: updates Werewolf with the latest source for elmobot from the Git repository, builds it, and restarts the elmobot service

  • update_site.yml: updates Vampire with the latest static content for bracy.dev from the Git repository, and restarts the caddy service

Assets

Each server is catalogued below. Additionally and more importantly, each server is defined in servers.yml so that Ansible may deal with them appropriately.

Note

The actual IP addresses of my servers were redacted from servers_example.yml, as well as the Ansible login user.

For ease of administration, all servers currently run Ubuntu 22.04 LTS. Playbooks take this into account, and if you're running another distro you will need to account for differences accordingly.

Cyclops

Specs:
  - 4 cores (aarch64)
  - 24 GB RAM
  - 100 GB storage
  - Ubuntu 22.04 LTS

Services:
  - Cloud Development Environment
  - Flutter Toolchain
  - Go Toolchain
  - Rust Toolchain

Vampire

Specs:
  - 1 core (amd64)
  - 1 GB RAM
  - 50 GB storage
  - Ubuntu 22.04 LTS

Services:
  - Caddy (personal website)

Werewolf

Specs:
  - 1 core (amd64)
  - 1 GB RAM
  - 50 GB storage
  - Ubuntu 22.04 LTS

Services:
  - Elmobot (personal Discord bot)
  - Go toolchain

License

The MIT License (MIT)

Copyright (c) 2024-present Nathanael Bracy

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

infra's People

Contributors

servusdei2018 avatar

Watchers

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