ocanty / NaC

Netsoc-as-Code - Infrastructure as code for UCC Netsoc. Full set of Ansible playbooks for deploying all UCC Netsoc infrastructure on top of Proxmox VE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Netsoc Ansible

Local Development

Prerequisites

  1. Hashicorp Packer
  2. LXD up and running

How 2

  1. Run ./simulation.sh and wait for everything to startup.
  2. Go ham and run some playbooks!

The simulation may need to be torn down and brought back up after PC restarts.

SSH Keys are generated and placed into the correct directories. You can SSH to each container/host using username netsoc and password borger

Make sure not to commit the host_vars with changed IPs.

Misc Info

ssh priv key structure: /keys/<host>/id_rsa

i.e for feynman /keys/feynman/id_rsa

/vars/cloudflare.yml format:

cf_api_email: <cloudflare email>
cf_api_key: <cloudflare api key>

/vars/freeipa.yml format:

ipa_ds_password: <directory server pass>
ipa_admin_password: <admin pass>

About

Netsoc-as-Code - Infrastructure as code for UCC Netsoc. Full set of Ansible playbooks for deploying all UCC Netsoc infrastructure on top of Proxmox VE


Languages

Language:Python 91.7%Language:Shell 6.0%Language:HCL 2.4%