{"id":24884244,"url":"https://github.com/dreknix/ansible-collection-setup","last_synced_at":"2025-10-24T16:12:12.704Z","repository":{"id":161739447,"uuid":"610229584","full_name":"dreknix/ansible-collection-setup","owner":"dreknix","description":"Ansible Collection for Setup Computers","archived":false,"fork":false,"pushed_at":"2025-01-31T09:25:58.000Z","size":56,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T10:27:43.204Z","etag":null,"topics":["ansible","ansible-collection"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/dreknix.png","metadata":{"files":{"readme":"README.md","changelog":"changelogs/changelog.yaml","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-06T11:03:33.000Z","updated_at":"2025-01-31T09:26:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"286226c1-15d3-421a-9724-071b97b8359a","html_url":"https://github.com/dreknix/ansible-collection-setup","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/dreknix%2Fansible-collection-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreknix%2Fansible-collection-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreknix%2Fansible-collection-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dreknix%2Fansible-collection-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dreknix","download_url":"https://codeload.github.com/dreknix/ansible-collection-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245821121,"owners_count":20677979,"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","ansible-collection"],"created_at":"2025-02-01T14:26:37.212Z","updated_at":"2025-10-24T16:12:12.602Z","avatar_url":"https://github.com/dreknix.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Collection for Setup Computers\n\nA collection of roles for configuring all Linux hosts. The roles are currently\nonly supporting Debian or Ubuntu based distros.\n\n## Usage\n\nConfigure `collections_path` in `ansible.cfg`.\n\nInsert collection into `requirements.yml`:\n\n```yaml\ncollections:\n  - name: docker\n    source: git@github.com:dreknix/ansible-collection-setup.git\n    type: git\n    version: main\n```\n\nUse Galaxy to install the collection:\n\n```console\n$ ansible-galaxy install --force-with-deps -r requirements.yml\n```\n\nImport the playbook of the collection and overwrite the default values of the\nvariables:\n\n```yaml\n- name: Setup computers\n  ansible.builtin.import_playbook: dreknix.setup.playbook\n  vars:\n    keyboard_model: \"pc105\"\n    keyboard_layout: \"de\"\n    keyboard_variant: \"nodeadkeys\"\n\n    locale_lang: \"en_US.UTF-8\"\n    locale_list: [\"{{ locale_lang }}\"]\n\n    timezone: \"Europe/Berlin\"\n```\n\n## Roles\n\nThe following roles are available.\n\n### Hostname\n\nSet the host name to the Ansible variable `inventory_hostname`.\n\n* **Tag**: `setup_hostname`\n* **Variables**:\n\n### Keyboard\n\nConfigure the keyboard layout.\n\n* **Tag**: `setup_keyboard`\n* **Variables**:\n  * `keyboard_model`: `pc104`\n  * `keyboard_layout`: `us`\n  * `keyboard_variant`: `''`\n  * `keyboard_options`: `''`\n  * `keyboard_backspace`: `guess`\n\n### Locale\n\nConfigure the locale settings.\n\n* **Tag**: `setup_locale`\n* **Variables**:\n  * `locale_list`: `[en_GB.UTF-8, en_US.UTF-8]`\n  * `locale_lang`: `en_US.UTF-8`\n  * ...\n\n### Timezone\n\nSet the time zone.\n\n* **Tag**: `setup_timezone`\n* **Variables**:\n  * `timezone`: `Europe/London`\n\n### Upgrade\n\nUpgrade all packages.\n\n* **Tag**: `setup_upgrade`\n* **Variables**:\n\n## License\n\n[MIT](https://github.com/dreknix/ansible-collection-setup/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreknix%2Fansible-collection-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdreknix%2Fansible-collection-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdreknix%2Fansible-collection-setup/lists"}