Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sgaunet/ansible-role-kubectl
https://github.com/sgaunet/ansible-role-kubectl
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sgaunet/ansible-role-kubectl
- Owner: sgaunet
- License: mit
- Created: 2024-06-19T16:26:10.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-13T10:26:28.000Z (6 months ago)
- Last Synced: 2024-07-13T11:38:16.816Z (6 months ago)
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: kubectl
[![CI](https://github.com/sgaunet/ansible-role-kubectl/workflows/CI/badge.svg)](https://github.com/sgaunet/ansible-role-kubectl/actions?query=workflow%3ACI)
An Ansible Role that installs kubectl on Linux.
## Requirements
None.
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
kubectl_version: "1.27.7"
kubectl_bin_path: "/usr/bin"
kubectl_tmp_directory: "{{ lookup('env', 'TMPDIR') | default('/tmp', true) }}"
kubectl_os: "linux"
kubectl_arch: "amd64"## Dependencies
None.
## Example Playbook
```yaml
- hosts: all
roles:
- sgaunet.kubectl
```## License
MIT