Git Product home page Git Product logo

iac's Introduction

ansible lint ansible lint rules

Infrastructure as Code

There are several goals of this project

  1. a friction-less way to get back to normal after a fresh install of an OS for local devices, and use a common set of expectations for all devices in my fleet
  2. a way to easily provision and deploy cloud resources
  3. a minimal amount of secret management by encrypting secrets

Terraform

Used to provision cloud resources (currently on digital ocean and terraform):

  • compute
  • dns entries
  • todo: firewall / vpc configs

Read more

Ansible

Used to provision software, services and configuration to local machines and cloud resources

  • apt packages for non-gui development (ie common to headless and non-headless)

  • apt packages for gui only (don't install on headless setups)

  • docker containers

    • nginx proxy to www.jasonernst.com
    • letsencrypt to www.jasonernst.com
    • goblog to www.jasonernst.com
    • prometheus and grafana locally on lp.jasonernst.com accessible via ssh tunnel
    • ombi to ombi.jasonernst.com
    • livepeer orchestrator to lp.jasonernst.com
    • amd lolminer, livepeer transcoder to ubuntu-server, ubuntu-desktop
    • nvidia lolminer, livepeer transcoder to ubuntu-desktop-beast
    • plex, radarr, sonarr to ubuntu-server
  • /etc/hosts files

  • ssh keys

  • .ssh/config mapping identities to hosts and jumpboxes where necessary

  • home.jasonernst.com pointed to ubuntu-server configured as an ssh jump box into the lan

Read more

Packer

Used for a clean and consistent debian virtualbox environment to generate debian packages since most of my systems are ubuntu. Currently not needed because I can accomplish the same thing with a pre-built debian vagrant box. Would be useful if I needed to do any additional scripted setup that can't be done with ansible.

iac's People

Contributors

compscidr avatar marshallasch avatar renovate-bot avatar renovate[bot] avatar

Watchers

 avatar  avatar

Forkers

marshallasch

iac's Issues

apt-key setup is deprecated

the method used to add the apt keys has been dreprecated. the key should be placed in /etc/apt/keyrings/ instead.

This is specificly an issue with docker and ansible (based on the portions I ran).

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

ansible
ansible/roles/common/software/tasks/main.yml
ansible/roles/home_jasonernst_com/dyndns/tasks/main.yml
ansible/roles/home_jasonernst_com/rust_game/tasks/main.yml
ansible/roles/web_common/letsencrypt/tasks/main.yml
ansible/roles/web_common/nginx/tasks/main.yml
ansible/roles/www_jasonernst_com/goblog/tasks/main.yml
  • compscidr/goblog v0.1.43
  • compscidr/goblog v0.1.43
ansible-galaxy
ansible/meta/requirements.yml
  • community.docker 3.10.4
  • community.general 9.1.0
  • compscidr.github_runner 0.0.10
  • compscidr.media_server 0.0.26
  • compscidr.github_cli 0.0.3
  • buluma.virtualbox 24.3.31
  • nickjj.docker v2.4.0
  • diodonfrost.terraform 1.6.1
  • webarchitect609.jet_brains_toolbox 2.0.1
  • compscidr.uncompress 0.0.3
  • compscidr.gpg 0.0.4
  • gantsign.visual-studio-code 7.0.0
  • darkwizard242.speedtest 4.0.0
  • geerlingguy.php 5.0.1
github-actions
.github/workflows/ansible-lint.yml
  • actions/checkout v4@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/setup-python v5
terraform
terraform/provider.tf
  • aws ~> 5.0
  • digitalocean 2.39.2

  • Check this box to trigger a request for Renovate to run again on this repository

website broken with ipv6

still works with ipv4

disabled ipv6 locally with /etc/sysctl.conf and sysctl -p

seems to not even be reaching the nginx proxy from what i can tell from logs.

vscode leaves multiple entries in apt files

Gives a warning when running apt-update. File is /etc/apt/sources.list.d/vscode.list - usually have to manually trim one of the entries out. One was http and one was https. Need to dig in more.

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.