{"id":16781425,"url":"https://github.com/elcomtik/ansible-role-init","last_synced_at":"2026-05-15T18:08:22.352Z","repository":{"id":38182208,"uuid":"260166247","full_name":"elcomtik/ansible-role-init","owner":"elcomtik","description":"Ansible role for the initial configuration of the host","archived":false,"fork":false,"pushed_at":"2023-08-02T01:51:33.000Z","size":107,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T18:08:18.879Z","etag":null,"topics":["ansible","ansible-role","hacktoberfest","ssh","ssh-keys","sudo"],"latest_commit_sha":null,"homepage":"","language":null,"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/elcomtik.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-04-30T09:18:07.000Z","updated_at":"2023-01-20T18:47:42.000Z","dependencies_parsed_at":"2024-11-22T21:43:30.458Z","dependency_job_id":null,"html_url":"https://github.com/elcomtik/ansible-role-init","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/elcomtik/ansible-role-init","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elcomtik%2Fansible-role-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elcomtik%2Fansible-role-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elcomtik%2Fansible-role-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elcomtik%2Fansible-role-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elcomtik","download_url":"https://codeload.github.com/elcomtik/ansible-role-init/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elcomtik%2Fansible-role-init/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33074454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","hacktoberfest","ssh","ssh-keys","sudo"],"created_at":"2024-10-13T07:43:01.726Z","updated_at":"2026-05-15T18:08:22.335Z","avatar_url":"https://github.com/elcomtik.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-role-init\n\n![Molecule](https://github.com/ansible-community/ansible-consul/workflows/default/badge.svg?branch=main\u0026event=pull_request)\n[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/elcomtik/ansible-role-init.svg)](http://isitmaintained.com/project/elcomtik/ansible-role-init \"Average time to resolve an issue\")\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/elcomtik/ansible-role-init.svg)](http://isitmaintained.com/project/elcomtik/ansible-role-init \"Percentage of issues still open\")\n\nInitial configuration of host to prepare for Ansible.\nWill ensure:\n- python is latest version\n- user for ansible is created with sudo presmisions\n- ssh_key for ansible user is added\n- sshd port is configured acording to inventory value of ansible_port\n\n## Requirements\n\nUser on remote host which run playbook must have root privileges\n\n## Role Variables\n\nDefaults:\n\n    # user which will initialy configure host, until ansible_user is created\n    bootstrap_user: \"root\"\n\n    # enables to delete ssh_key from bootstrap user account\n    remove_bootstrap_user_ssh_keys: false\n\n    # user which will be used by ansible\n    ssh_user: ansible\n\n    # path relative to playbook directory\n    ssh_keys_path: \"files/ssh-keys\"\n\n    # by default empty list. Must be defined, should by name of pubkey file, which is placed in ssh_key_path directory\n    ssh_keys: []\n\n    # ssh port which we want to set listening on\n    ansible_port: 2222\n\n    # enables to remove default(22) SSH listen port\n    remove_default_ssh_port: false\n\n## Dependencies\n\nnone\n\n## Example Playbook\n\n```yaml\n  - hosts: all\n    gather_facts: no\n    roles:\n      - elcomtik.init\n```\n\n## License\n\nMIT\n\n## Author Information\n\nmail@romandanko.sk, www.romandanko.sk\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felcomtik%2Fansible-role-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felcomtik%2Fansible-role-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felcomtik%2Fansible-role-init/lists"}