k8s let's encrypt issuer and cert creation
This commit is contained in:
17
ansible-5/roles/k3s/tasks/install.python_modules.yml
Normal file
17
ansible-5/roles/k3s/tasks/install.python_modules.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
# install the required python3 modules with pip
|
||||
|
||||
- name: Install required packages for pip
|
||||
apt:
|
||||
name: "{{ item }}"
|
||||
update_cache: yes
|
||||
cache_valid_time: 3600
|
||||
state: latest
|
||||
with_items:
|
||||
- python3-pip
|
||||
|
||||
- name: Install ansible kubernetes python packages
|
||||
ansible.builtin.pip:
|
||||
name:
|
||||
- anisble
|
||||
- kubernetes
|
||||
@@ -16,3 +16,5 @@
|
||||
|
||||
- include_tasks: install_helm.yml
|
||||
|
||||
#install required python modules
|
||||
- include_tasks: install.python_modules.yml
|
||||
|
||||
Reference in New Issue
Block a user