{"id":16777324,"url":"https://github.com/githubixx/ansible-role-cilium-cli","last_synced_at":"2026-05-07T07:03:46.995Z","repository":{"id":37594837,"uuid":"392447954","full_name":"githubixx/ansible-role-cilium-cli","owner":"githubixx","description":"Ansible role to install cilium command line (CLI) utility","archived":false,"fork":false,"pushed_at":"2024-10-04T17:22:36.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-20T08:24:42.883Z","etag":null,"topics":["ansible","ansible-role","ansible-roles","cilium","cli"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/githubixx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-08-03T20:31:36.000Z","updated_at":"2024-10-04T17:22:15.000Z","dependencies_parsed_at":"2024-04-03T20:44:12.855Z","dependency_job_id":"49719bc8-a865-42cc-8ecf-a0214ea40079","html_url":"https://github.com/githubixx/ansible-role-cilium-cli","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubixx%2Fansible-role-cilium-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubixx%2Fansible-role-cilium-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubixx%2Fansible-role-cilium-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubixx%2Fansible-role-cilium-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/githubixx","download_url":"https://codeload.github.com/githubixx/ansible-role-cilium-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225950751,"owners_count":17550309,"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","ansible-roles","cilium","cli"],"created_at":"2024-10-13T07:24:23.242Z","updated_at":"2026-05-07T07:03:46.977Z","avatar_url":"https://github.com/githubixx.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-role-cilium-cli\n\nInstalls [cilium command line](https://github.com/cilium/cilium-cli/) utility.\n\n## Versions\n\nI tag every release and try to stay with [semantic versioning](http://semver.org). If you want to use the role I recommend to checkout the latest tag. The master branch is basically development while the tags mark stable releases. But in general I try to keep master in good shape too. A tag `3.1.0+0.19.2` means this is release `3.1.0` of this role and it uses `cilium` CLI version `0.19.2`. If the role itself changes `X.Y.Z` before `+` will increase. If the `cilium` CLI version changes `X.Y.Z` after `+` will increase too. This allows to tag bugfixes and new major versions of the role while it's still developed for a specific `cilium` CLI release.\n\n## Changelog\n\nsee [CHANGELOG.md](https://github.com/githubixx/ansible-role-cilium-cli/blob/master/CHANGELOG.md)\n\n## Role Variables\n\n```yaml\n---\n# \"cilium\" CLI version to install\ncilium_cli_version: \"0.19.2\"\n\n# Where to install \"cilium\" binary. This directory will only be created if\n# \"cilium_cli_bin_directory_owner\" and \"cilium_cli_bin_directory_group variables\n# are also defined! Otherwise it will be assumend that the destination directory\n# already exits with proper permissions.\ncilium_cli_bin_directory: \"/usr/local/bin\"\n\n# If the \"cilium\" binary should be placed in a directory that doesn't exist yet,\n# this two variables have to be specified to set owner and group of that new\n# directory accordingly.\n# cilium_cli_bin_directory_owner: \"root\"\n# cilium_cli_bin_directory_group: \"root\"\n\n# Specifies the permissions of the destination directory.\ncilium_cli_bin_directory_mode: \"0755\"\n\n# Directory to store the cilium cli archive.\ncilium_cli_tmp_directory: \"{{ lookup('env', 'TMPDIR') | default('/tmp',true) }}\"\n\n# Owner/group of \"cilium\" binary.\ncilium_cli_owner: \"root\"\ncilium_cli_group: \"root\"\n\n# Specifies the permissions of the \"cilium\" binary.\ncilium_cli_binary_mode: \"0755\"\n\n# Operarting system on which \"cilium\" should run on.\n# Use \"darwin\" for MacOS X\ncilium_cli_os: \"linux\"\n\n# Processor architecture \"cilium\" should run on.\n# Other possible values: \"386\",\"arm64\",\"arm\"\ncilium_cli_arch: \"amd64\"\n\n# Name of the archive file name.\ncilium_cli_archive: \"cilium-{{ cilium_cli_os }}-{{ cilium_cli_arch }}.tar.gz\"\n\n# The cilium CLI download URL (normally no need to change it).\ncilium_cli_url: \"https://github.com/cilium/cilium-cli/releases/download/v{{ cilium_cli_version }}/{{ cilium_cli_archive }}\"\n```\n\n## Example Playbook\n\nExample 1 (without role tag):\n\n```yaml\n- hosts: your-host\n  roles:\n    - githubixx.cilium_cli\n```\n\nExample 2 (assign tag to role):\n\n```yaml\n-\n  hosts: your-host\n  roles:\n    -\n      role: githubixx.cilium_cli\n      tags: role-cilium-cli\n```\n\n## Testing\n\nThis role has a small test setup that is created using [Molecule](https://github.com/ansible-community/molecule), libvirt (vagrant-libvirt) and QEMU/KVM. Please see my blog post [Testing Ansible roles with Molecule, libvirt (vagrant-libvirt) and QEMU/KVM](https://www.tauceti.blog/posts/testing-ansible-roles-with-molecule-libvirt-vagrant-qemu-kvm/) how to setup. The test configuration is [here](https://github.com/githubixx/ansible-role-cilium-cli/tree/master/molecule/default).\n\nAfterwards molecule can be executed:\n\n```bash\nmolecule converge\n```\n\nThis will setup a few virtual machines (VM) with different supported Linux operating systems and installs `cilium_cli` role.\n\nTo run a small test if `cilium` command was successfully install run:\n\n```bash\nmolecule verify\n```\n\nTo clean up run\n\n```bash\nmolecule destroy\n```\n\n## License\n\nGNU GENERAL PUBLIC LICENSE Version 3\n\n## Author Information\n\n[http://www.tauceti.blog](http://www.tauceti.blog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubixx%2Fansible-role-cilium-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithubixx%2Fansible-role-cilium-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubixx%2Fansible-role-cilium-cli/lists"}