initial checkin

This commit is contained in:
Radar231 2021-07-23 18:43:53 -04:00
commit c3794d2ebd
3 changed files with 66 additions and 0 deletions

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# Ansible Role: k8s_delinit_deploy
## Introduction
This role will deploy the delinit kubernetes application.
This role requires that the 'devpath' variable be set.

9
meta/main.yml Normal file
View File

@ -0,0 +1,9 @@
galaxy_info:
author: radar231
license: license (GPL-2.0-or-later, MIT, etc)
min_ansible_version: 2.1
galaxy_tags: []
dependencies: []
# EOF

49
tasks/main.yml Normal file
View File

@ -0,0 +1,49 @@
---
#####################################################################
#
# transmission-openvpn_deploy role
#
# - requires that the 'devpath' variable be set
#
#####################################################################
# tasks file for transmission-openvpn_deploy role
- debug: msg="Deploying transmission app."
- name: Create the k8stv namespace
community.kubernetes.k8s:
name: k8stv
api_version: v1
kind: Namespace
state: present
- name: Create the PV object
community.kubernetes.k8s:
state: present
src: "{{ devpath }}/k8s/k8stv/transmission-openvpn/transmission_pv.yml"
- name: Create the PVC object
community.kubernetes.k8s:
state: present
namespace: k8stv
src: "{{ devpath }}/k8s/k8stv/transmission-openvpn/transmission_pvc.yml"
- name: Create the Secrets object
community.kubernetes.k8s:
state: present
namespace: k8stv
src: "{{ devpath }}/k8s/k8stv/transmission-openvpn/openvpn_secret.yml"
- name: Create the deployment object
community.kubernetes.k8s:
state: present
namespace: k8stv
src: "{{ devpath }}/k8s/k8stv/transmission-openvpn/transmission_deployment.yml"
- name: Create the svclb object
community.kubernetes.k8s:
state: present
namespace: k8stv
src: "{{ devpath }}/k8s/k8stv/transmission-openvpn/transmission_svclb.yml"
# EOF