{"id":20716392,"url":"https://github.com/mvladislav/ansible-updater","last_synced_at":"2026-04-17T16:32:40.300Z","repository":{"id":151662960,"uuid":"383648286","full_name":"MVladislav/ansible-updater","owner":"MVladislav","description":"ansible-role to setup system service as lang, time, updates, zfs","archived":false,"fork":false,"pushed_at":"2026-04-04T17:42:06.000Z","size":114,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-04T20:20:57.404Z","etag":null,"topics":["ansible-role","language","linux","time","ubuntu","unattended-upgrades","zfs"],"latest_commit_sha":null,"homepage":"","language":"YAML","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/MVladislav.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-07-07T02:12:16.000Z","updated_at":"2026-04-04T17:41:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d0f6ae6-eb5a-4270-9976-96ed49ef6b17","html_url":"https://github.com/MVladislav/ansible-updater","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/MVladislav/ansible-updater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MVladislav%2Fansible-updater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MVladislav%2Fansible-updater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MVladislav%2Fansible-updater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MVladislav%2Fansible-updater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MVladislav","download_url":"https://codeload.github.com/MVladislav/ansible-updater/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MVladislav%2Fansible-updater/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31936629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"last_error":"SSL_read: 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-role","language","linux","time","ubuntu","unattended-upgrades","zfs"],"created_at":"2024-11-17T03:05:40.595Z","updated_at":"2026-04-17T16:32:40.290Z","avatar_url":"https://github.com/MVladislav.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# System Updater\n\n[![Ansible Lint](https://github.com/MVladislav/ansible-updater/actions/workflows/ansible-lint.yml/badge.svg)](https://github.com/MVladislav/ansible-updater/actions/workflows/ansible-lint.yml)\n[![Ansible Molecule Test](https://github.com/MVladislav/ansible-updater/actions/workflows/ci.yml/badge.svg)](https://github.com/MVladislav/ansible-updater/actions/workflows/ci.yml)\n\n- [System Updater](#system-updater)\n  - [Role Variables](#role-variables)\n  - [Dependencies](#dependencies)\n  - [Example Playbook](#example-playbook)\n  - [License](#license)\n\n---\n\nYou can checkout [MVladislav - ansible-env-setup - playbooks](https://github.com/MVladislav/ansible-env-setup/tree/main/playbooks) for how i use it in general.\n\nTested with:\n\n- Ubuntu 23.04\n\n## Role Variables\n\n```yml\nclients:\n  - name: \"{{ ansible_user }}\"\n    locale: en_US.UTF-8\n    language: en_US.UTF-8\n\nupdater_dependencies:\n  - locales\n  - tzdata\n\nupdater_config:\n  set_timezone: true\n  set_time_sync: true\n  set_language: true\n  update_upgrade: true\n  setup_zfs: false\n  setup_unattended: true\n  setup_sysctl: true\n\nupdater_time_timezone: Europe/Berlin\n\nupdater_ntp_serivce_use_time_synchronization_service: chrony # chrony | systemd-timesyncd\nupdater_ntp_server: time.cloudflare.com\nupdater_ntp_fallback_server: ntp.ubuntu.com\n\nupdater_config_system_locale: en_US.UTF-8\nupdater_config_system_language: en_US.UTF-8\n\n# multi unattended updater variables\nupdater_unattended_*: ...\n```\n\n## Dependencies\n\nDeveloped and testes with Ansible 2.14.4\n\n## Example Playbook\n\nExample how to use:\n\n```yml\n- name: PRE | pre installer (1) | updater\n  remote_user: \"{{ ansible_user }}\"\n  hosts:\n    - pre\n  roles:\n    ### -------------------------\n    - role: ansible-updater\n      # set language per client\n      clients:\n        - name: \"{{ ansible_user }}\"\n          locale: en_US.UTF-8\n          language: en_US.UTF-8\n      # define which modules should be performed\n      updater_config:\n        set_timezone: true\n        set_time_sync: true\n        set_language: true\n        update_upgrade: true\n        setup_zfs: true\n        setup_unattended: true\n        setup_sysctl: true\n      # define your timezone\n      updater_time_timezone: Europe/Berlin\n      # set ntp servers\n      updater_ntp_server: time.cloudflare.com\n      updater_ntp_fallback_server: ntp.ubuntu.com\n      # set default system language\n      updater_config_system_locale: en_US.UTF-8\n      updater_config_system_language: en_US.UTF-8\n      # define allowed for unattended to update for\n      updater_unattended_allowed_origins:\n        # - \"Docker:${distro_codename}\"\n        - \"${distro_id}:${distro_codename}\"\n        - \"${distro_id}:${distro_codename}-security\"\n        - \"${distro_id}:${distro_codename}-updates\"\n        - \"${distro_id}ESMApps:${distro_codename}-apps-security\"\n        - \"${distro_id}ESM:${distro_codename}-infra-security\"\n      # define pattern for unattended to update for\n      updater_unattended_origins_patterns:\n        # - \"o=Docker,a=lunar,l=Docker CE,b=amd64\"\n        # - \"o=Ubuntu,a=${distro_codename},n=${distro_codename},l=Ubuntu\"\n        - \"o=Ubuntu,a=${distro_codename}-security,n=${distro_codename},l=Ubuntu\"\n        - \"o=Ubuntu,a=${distro_codename}-updates,n=${distro_codename},l=Ubuntu\"\n        # - \"o=Ubuntu,a=${distro_codename}-proposed-updates,n=${distro_codename},l=Ubuntu\"\n        # - \"o=Ubuntu,a=${distro_codename}-backports,n=${distro_codename},l=Ubuntu\"\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvladislav%2Fansible-updater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmvladislav%2Fansible-updater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvladislav%2Fansible-updater/lists"}