{"id":19594914,"url":"https://github.com/carnivuth/las","last_synced_at":"2025-08-23T06:37:09.115Z","repository":{"id":74020802,"uuid":"551054525","full_name":"carnivuth/LAS","owner":"carnivuth","description":"struttura ansible per esame laboratorio amministrazione sistemi del professor prandini","archived":false,"fork":false,"pushed_at":"2025-03-20T23:18:32.000Z","size":97,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-27T15:49:16.698Z","etag":null,"topics":["ansible","ansible-role","authentication","laboratorio-amministrazione-sistemi","las","ldap","provisioning","snmp"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carnivuth.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-10-13T19:09:43.000Z","updated_at":"2025-03-20T23:18:35.000Z","dependencies_parsed_at":"2024-01-10T11:06:51.758Z","dependency_job_id":"6ea3b8f2-eaff-4196-b305-69d2c225d7e4","html_url":"https://github.com/carnivuth/LAS","commit_stats":{"total_commits":77,"total_committers":2,"mean_commits":38.5,"dds":0.07792207792207795,"last_synced_commit":"55295d60c7230162abf816f7518d29fd524dc089"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/carnivuth/LAS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carnivuth%2FLAS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carnivuth%2FLAS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carnivuth%2FLAS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carnivuth%2FLAS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carnivuth","download_url":"https://codeload.github.com/carnivuth/LAS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carnivuth%2FLAS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745679,"owners_count":24813521,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","ansible-role","authentication","laboratorio-amministrazione-sistemi","las","ldap","provisioning","snmp"],"created_at":"2024-11-11T08:45:11.466Z","updated_at":"2025-08-23T06:37:09.088Z","avatar_url":"https://github.com/carnivuth.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LAS\n\nStruttura ansible per esame laboratorio amministrazione sistemi del professor Prandini\n\n##  Cosa troverete\n\nAll'interno della repositori sono presenti 2 strutture ansible roles indipendenti per le due principali infrastrutture di rete presenti negli esami ovvero\n\n* rete client - router - router - rete dei server\n* rete client - router - rete dei server\n\nÈ inoltre presente una raccolta delle [domande presenti alla parte di teoria](https://github.com/carnivuth/LAS/blob/master/teoria/teoria.md) (**da prendere solo come strumento di ripasso, è possibile che il professore estenda le domande della teoria**)\n\n##  Cosa non troverete\n\nnella repository **non sono presenti esempi di scripting bash** in quanto difficilmente \"templatabili\" e cangianti ai vari esami, per quelli l'unica soluzione è l'esercizio in laboratorio e a casa\n\n## Struttura\n\nNella repository per ogni infrastruttura di rete è presente una gerarchia di cartelle come richieste dalla struttura [roles](https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html), per ogni macro argomento del corso inoltre sono disponibili roles ansible che si occupano del provision tra cui:\n\n- Setup della rete\n- Aggiunta di cron job\n- Aggiunta di unit di systemd\n- Setup del servizio di logging remoto\n- Setup del SNMP agent\n- Setup del SNMP manager\n- Setup del server LDAP tramite debconf\n- Setup del sistema di login tramite LDAP\n\nSono inoltre presenti i corrispondenti vagrantfile con la definizione dell'environment delle vm e le corrispettive inventory\n\n## Come testare\n\n- clonare la [repository](https://github.com/carnivuth/LAS.git)\n- installare la collection community.general di ansible\n- avviare le vm con `vagrant up`\n- per effettuare il provisioning modificare il file `playbook.yaml` con i roles che si vogliono utilizzare e effettuare il provision con\n\n```bash\nansible-playbook -i inventory.yaml playbook.yaml\n```\n\n- per installare il server LDAP\n\n```bash\nansible-playbook -i inventory.yaml LDAP_installation.yaml\n```\n\n- per consentire il login tramite LDAP\n\n```bash\nansible-playbook -i inventory.yaml LDAP_login.yaml\n```\n\n## Possibili problemi\n\nDistruggendo e ricreando le vm potreste incorrere in errori relativi alle chiavi ssh, per risolvere editare il contenuto nel file `/home/utente/.ssh/known_hosts`\n\n## Crediti\n\n- [carnivuth](https://github.com/carnivuth)\n- [BlessedRebuS](https://github.com/BlessedRebuS)\n- [DeborohNoah](https://github.com/DeborohNoah)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarnivuth%2Flas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarnivuth%2Flas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarnivuth%2Flas/lists"}