{"id":13582472,"url":"https://github.com/UCCNetsoc/NaC","last_synced_at":"2025-04-06T14:30:58.397Z","repository":{"id":42121507,"uuid":"239223082","full_name":"UCCNetsoc/NaC","owner":"UCCNetsoc","description":"Netsoc-as-Code - Infrastructure-as-Code for UCC Netsoc. The Ansible playbooks that power all of  our backend","archived":false,"fork":false,"pushed_at":"2024-09-03T09:30:56.000Z","size":7622,"stargazers_count":21,"open_issues_count":13,"forks_count":18,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-05T22:41:24.033Z","etag":null,"topics":["ansible","docker","kvm","netsoc","proxmox","sysadmin"],"latest_commit_sha":null,"homepage":"https://netsoc.co/go/nac","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UCCNetsoc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-02-09T00:11:53.000Z","updated_at":"2024-09-03T09:30:59.000Z","dependencies_parsed_at":"2023-02-14T02:31:22.722Z","dependency_job_id":null,"html_url":"https://github.com/UCCNetsoc/NaC","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UCCNetsoc%2FNaC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UCCNetsoc%2FNaC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UCCNetsoc%2FNaC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UCCNetsoc%2FNaC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UCCNetsoc","download_url":"https://codeload.github.com/UCCNetsoc/NaC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247495748,"owners_count":20948102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","docker","kvm","netsoc","proxmox","sysadmin"],"created_at":"2024-08-01T15:02:45.069Z","updated_at":"2025-04-06T14:30:57.772Z","avatar_url":"https://github.com/UCCNetsoc.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/UCCNetsoc/wiki/raw/master/assets/logo-service-nac.svg\" width=\"360\"/\u003e\n\n## I'm a new SysAdmin, what the heck do I do?\n\n* `ssh` into the Ansible control server (currently `control.netsoc.co:2222`)\n  * `ssh \u003cusername\u003e@control.netsoc.co -p 2222 -i \u003cpath to ssh key\u003e`\n  * If you have not supplied an SSH key to the Head SysAdmin already:\n    * Open a PR adding your username and key to `setup-control-host.yml`\n\n* Clone this repo\n\n* Run `./start-dev.sh` inside the cloned folder (or `./start-dev.sh fish` to use fish instead of bash)\n  * You will need to run `./start-dev.sh` to setup the correct Python packages and environment variables. You must do this before beginning any development/deployment\n  * You will be able to tell you have done this when your terminal prompt looks like this:\n    * `(NaC) \u003cuser\u003e@feynman:~/NaC#`\n\n* You will need a `keys/` folder which contains SSH keys to target all physical and virtual machines. Ask the Head SysAdmin for this.\n  * Do **NOT** commit them or remove the `keys/` clause from `.gitignore`.\n  * Do **NOT** share them with people who are not SysAdmins\n  * Do **NOT** leave them sitting on a random server somewhere\n\n* You can peek and edit the vault using `./vault-peek.sh` and `./vault-edit.sh`\n\n* You can list *.vm.netsoc.co by using `./vm-list.sh`\n* You can ssh into *.vm.netsoc.co by running `./vm-ssh.sh \u003chostname\u003e`, i.e `./vm-ssh.sh web.infra.netsoc.co`\n\n* The Proxmox Web UI is available at [`proxmox.netsoc.co`](https://proxmox.netsoc.co). You may need to type `thisisunsafe` (if using Chrome) to get past the SSL warning \n\n* For your development, you can use `sshfs` / VSCode Remote / `vim` on the control server / a git branch.\n  * You _will_ need to run your playbooks on the control server\n\n\n## I want to contribute but I'm not a SysAdmin?\n\n* Consider making an issue or contact us in `#servers` in our [Discord](https://discord.netsoc.co)\n  * We'll welcome any help!\n\n## I like this repo and want to learn more about UCC Netsoc\n\n* Check out our [wiki](https://wiki.netsoc.co)\n\n## **Important**\n\nThis repo currently contains both playbooks for managing 2019/2020 bare-metal infra and 2020/2021 Proxmox infra. Do not get them confused, have a look at `./hosts` to see what's going on.\n\n### **Read [wiki.netsoc.co](wiki.netsoc.co)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUCCNetsoc%2FNaC","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FUCCNetsoc%2FNaC","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUCCNetsoc%2FNaC/lists"}