{"id":18676390,"url":"https://github.com/subb98/vds","last_synced_at":"2026-03-19T05:48:43.910Z","repository":{"id":128016230,"uuid":"609841975","full_name":"Subb98/VDS","owner":"Subb98","description":"Configuring a new virtual machine with \"Infrastructure as Code\" approach","archived":false,"fork":false,"pushed_at":"2023-03-05T12:11:03.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T12:36:44.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Subb98.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}},"created_at":"2023-03-05T12:07:16.000Z","updated_at":"2023-05-22T12:07:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ba06a4a-cf08-40c4-8cf6-e2a8517e87b6","html_url":"https://github.com/Subb98/VDS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Subb98/VDS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subb98%2FVDS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subb98%2FVDS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subb98%2FVDS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subb98%2FVDS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Subb98","download_url":"https://codeload.github.com/Subb98/VDS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Subb98%2FVDS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271993347,"owners_count":24855167,"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-24T02:00:11.135Z","response_time":111,"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":[],"created_at":"2024-11-07T09:29:04.345Z","updated_at":"2026-02-11T12:07:16.566Z","avatar_url":"https://github.com/Subb98.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VDS\nЭтот репозиторий содержит описание конфигурации VDS при помощи исходного кода (подход Infrastructure as Code). В частности, с использованием Ansible.\n\n## Примечание\nРазработка плейбуков осуществлялась для узлов с дистрибутивом Debian 10.\n\n## Требования\n- Установленный Ansible на Control node (хост, с которого будут запускаться команды для конфигурирования VDS, например, localhost), [см. инструкцию](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)\n- Наличие VDS или виртуальной машины, для которой будут запускаться команды для конфигурирования\n- Подключение по SSH к VDS или виртуальной машине\n\n## Пример конфигурации /etc/ansible/hosts\nНастроенный /etc/ansible/hosts на Control node нужен для подключения к VDS или виртуальной машине, если файл inventory.yaml ещё не описан, [см. инструкцию](https://docs.ansible.com/ansible/latest/getting_started/index.html)\n\n```\n[vds_prod]\nfvds ansible_host=192.168.1.1\n\n# или так:\n\n[vds_prod]\nfvds ansible_host=example.com\n```\n\nПроверка соединения:\n\n```\nansible all -m ping\nfvds | SUCCESS =\u003e {\n    \"ansible_facts\": {\n        \"discovered_interpreter_python\": \"/usr/bin/python3\"\n    },\n    \"changed\": false,\n    \"ping\": \"pong\"\n}\n```\n\n## Создание зашифрованного пароля для пользователя\n```\napt update\napt install -y python3 python3-bcrypt\npython3 -c 'import crypt,getpass;pw=getpass.getpass();print(crypt.crypt(pw) if (pw==getpass.getpass(\"Confirm: \")) else exit())'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubb98%2Fvds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubb98%2Fvds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubb98%2Fvds/lists"}