{"id":20310191,"url":"https://github.com/ktooi/ansible-role-crio","last_synced_at":"2026-05-04T21:32:36.472Z","repository":{"id":171489522,"uuid":"495029136","full_name":"ktooi/ansible-role-crio","owner":"ktooi","description":"Install CRI-O on a RHEL/CentOS or Debian/Ubuntu server.","archived":false,"fork":false,"pushed_at":"2023-06-19T18:33:49.000Z","size":59,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T08:12:19.982Z","etag":null,"topics":["ansible","ansible-role","container","cri-o","crio","kubernetes"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/ktooi/crio","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/ktooi.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":"2022-05-22T10:38:44.000Z","updated_at":"2023-03-05T06:39:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ee19ac2-fb15-4081-8897-6c91eb175651","html_url":"https://github.com/ktooi/ansible-role-crio","commit_stats":null,"previous_names":["ktooi/ansible-role-crio"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ktooi/ansible-role-crio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktooi%2Fansible-role-crio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktooi%2Fansible-role-crio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktooi%2Fansible-role-crio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktooi%2Fansible-role-crio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ktooi","download_url":"https://codeload.github.com/ktooi/ansible-role-crio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktooi%2Fansible-role-crio/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261766613,"owners_count":23206657,"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-role","container","cri-o","crio","kubernetes"],"created_at":"2024-11-14T17:30:25.699Z","updated_at":"2026-05-04T21:32:31.429Z","avatar_url":"https://github.com/ktooi.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CI](https://github.com/ktooi/ansible-role-crio/workflows/CI/badge.svg)](https://github.com/ktooi/ansible-role-crio/actions?query=workflow%3ACI+branch%3Amain)\n\n日本語版は[こちら](README_ja.md)。\n\n# Ansible Role: crio\n\nInstall CRI-O on a RHEL/CentOS or Debian/Ubuntu server.\n\nThis role will do the following.\n\n* Load Kernel module.\n* Configure Kernel parameters.\n* Install CRI-O.\n* Configure CRI-O.\n\n## Requirements\n\nThere are no special requirements for this role.\n\n## Role Variables\n\n```yaml\ncrio_version: \"1.24\"\n````\n\nSpecifies the version of CRI-O to install.\nYou can specify either \"X.Y\" or \"X.Y.Z\" format.\nCannot include `*`.\n\n```yaml\ncrio_sysctl_filename: \"/etc/sysctl.d/99-kubernetes-cri.conf\"\n```\n\nSpecifies the filename to save the Kernel parameter settings.\n\n```yaml\ncrio_os: Debian_10\n````\n\nSpecifies the OS of the host on which to install.\n\nThe value to specify for each OS is the value of `$OS` as described in [cri-o installation instructions](https://cri-o.io/), but as of May 2022, the linked information seems to be out of date.\nFrom my research, the currently valid OS specification is as follows.\n\n|Operating system|`$OS` (`crio_os`)|\n|---|---|\n|CentOS 7|CentOS_7|\n|CentOS 8|CentOS_8|\n|CentOS 8 Stream|CentOS_8_Stream|\n|Debian 10|Debian_10|\n|Debian 11|Debian_11|\n|Fedora 35|Fedora_35|\n|Fedora Rawhide|Fedora_Rawhide|\n|Raspbian 10|Raspbian_10|\n|Raspbian 11|Raspbian_11|\n|Ubuntu 18.04|xUbuntu_18.04|\n|Ubuntu 20.04|xUbuntu_20.04|\n|Ubuntu 21.10|xUbuntu_21.10|\n|Ubuntu 22.04|xUbuntu_22.04|\n\nNote that the valid OS depends on the version of CRI-O. The available OS for each version can be found at [openSUSE Download](https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/).\nSelect the version of CRI-O you wish to install from [openSUSE Download](https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/) and check the directory name displayed.\n\nIf your OS has files under `vars/`, `crio_os` will be set automatically and you do not need to specify it.\n\n```yaml\ncrio_version_url: '1.24'\n```\n\nThis parameter is used as part of the URL of the CRI-O repository.\nIt may be in the form ``X.Y`` or ``X.Y:/X.Y.Z``. (e.g., `1.24` or `1.24:/1.24.0`)\n\nYou don't need to specify the value of `crio_version`, since it is automatically set from the value of `crio_version`.\n\n```yaml\ncrio_long_version: '1.24'\n```\n\nThis parameter specifies the version of CRI-O in long form.\nIt is specified in either `X.Y` or `X.Y:X.Y.Z` format. (e.g., `1.24` or `1.24:1.24.0`)\nThe format is similar to `crio_version_url`, but with or without `/`.\n\nIt is automatically set from the value of `crio_version`, so you don't need to specify it.\n\n```yaml\ncrio_conf: {}\n```\n\nThis parameter specifies the contents of crio.conf.\nSee https://github.com/cri-o/cri-o/blob/main/docs/crio.conf.5.md for parameters that can be specified in crio.conf.\n\n`crio_conf` can be specified as follows:\n\n```yaml\ncrio_conf:\n  \"table\":\n    option: value\n  \"table.subtable1\":\n    option: value\n  \"table.subtable2\":\n    option: value\n```\n\nIn this case, crio.conf outputs the following:\n\n```\n[table]\noption = value\n\n[table.subtable1]\noption = value\n\n[table.subtable2]\noption = value\n\n```\n\nSee [crio_conf.yml.example](./defaults/crio_conf.yml.example) for a more realistic specificatioin.\n\n## Role Tags\n\n### crio-repo-key\n\nThe `crio-repo-key` tag can be used to update keys used in the CRI-O apt repository.\n\nIt does not perform tasks such as updating the apt repository cache, updating CRI-O packages, or changing settings. Use this function only for updating keys, such as when a key has expired.\n\n## Dependencies\n\nNone.\n\n## Example Playbook\n\n```yaml\n- hosts: crio_servers\n  roles:\n    - ktooi.crio\n````\n\n## Authors\n\n* **Kodai Tooi** [GitHub](https://github.com/ktooi), [Qiita](https://qiita.com/ktooi)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n\nTranslated with www.DeepL.com/Translator (free version)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktooi%2Fansible-role-crio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fktooi%2Fansible-role-crio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktooi%2Fansible-role-crio/lists"}