initial commit.
parent
52393c30f4
commit
9dcddd346a
@ -1,3 +1,41 @@
|
||||
# python-kubernetes-ansible-role
|
||||
install_python_kubernetes: Ansible Role
|
||||
================================================================================
|
||||
|
||||
Installs the python kubernetes library.
|
||||
An ansible role that installs the kubernetes python library via pip.
|
||||
|
||||
Requirements
|
||||
----------------------------------------
|
||||
|
||||
This role requires that pip is installed on the remote machines. The
|
||||
`python-kubernetes-ansible-role` is declared as a role dependency and will be
|
||||
automatically installed.
|
||||
|
||||
Role Variables
|
||||
----------------------------------------
|
||||
|
||||
None
|
||||
|
||||
Dependencies
|
||||
----------------------------------------
|
||||
|
||||
See 'Requirements', the `python-kubernetes-ansible-role` is declared as a
|
||||
dependency and will be ran bt this role.
|
||||
|
||||
Example Playbook
|
||||
----------------------------------------
|
||||
|
||||
```yml
|
||||
- hosts: all
|
||||
roles:
|
||||
- install_python_kubernetes
|
||||
```
|
||||
|
||||
License
|
||||
----------------------------------------
|
||||
|
||||
MIT
|
||||
|
||||
Author Information
|
||||
----------------------------------------
|
||||
|
||||
This role was created by [shnee](https://github.com/shnee).
|
||||
|
||||
@ -0,0 +1,26 @@
|
||||
---
|
||||
dependencies:
|
||||
- name: install_pip
|
||||
src: git+https://github.com/shnee/pip-ansible-role.git
|
||||
version: master
|
||||
|
||||
galaxy_info:
|
||||
author: shnee
|
||||
description: Installs the python kubernetes library via pip.
|
||||
|
||||
license: MIT
|
||||
|
||||
min_ansible_version: 2.1
|
||||
|
||||
platforms:
|
||||
- name: EL
|
||||
versions:
|
||||
- 8
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- focal # 20.04
|
||||
|
||||
galaxy_tags:
|
||||
- python
|
||||
- pip
|
||||
- kubernetes
|
||||
@ -0,0 +1,4 @@
|
||||
---
|
||||
- src: git+https://github.com/shnee/pip-ansible-role.git
|
||||
name: install_pip
|
||||
version: master
|
||||
@ -0,0 +1,6 @@
|
||||
---
|
||||
- name: Install kubernetes library via pip.
|
||||
pip:
|
||||
name: kubernetes
|
||||
state: present
|
||||
become: true
|
||||
Loading…
Reference in New Issue