initial checkin
This commit is contained in:
commit
7e8ebb20f9
|
@ -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.
|
||||
|
|
@ -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
|
|
@ -0,0 +1,55 @@
|
|||
---
|
||||
#####################################################################
|
||||
#
|
||||
# nagios_deploy role
|
||||
#
|
||||
# - requires that the 'devpath' variable be set
|
||||
#
|
||||
#####################################################################
|
||||
# tasks file for nagios_deploy role
|
||||
|
||||
- debug: msg="Deploying nagios app."
|
||||
|
||||
- name: Create the nagios namespace
|
||||
community.kubernetes.k8s:
|
||||
name: nagios
|
||||
api_version: v1
|
||||
kind: Namespace
|
||||
state: present
|
||||
|
||||
- name: Create the PV object
|
||||
community.kubernetes.k8s:
|
||||
state: present
|
||||
src: "{{ devpath }}/k8s/nagios/nagios/nagios_pv.yml"
|
||||
|
||||
- name: Create the PVC object
|
||||
community.kubernetes.k8s:
|
||||
state: present
|
||||
namespace: nagios
|
||||
src: "{{ devpath }}/k8s/nagios/nagios/nagios_pvc.yml"
|
||||
|
||||
- name: Create the Secrets object
|
||||
community.kubernetes.k8s:
|
||||
state: present
|
||||
namespace: nagios
|
||||
src: "{{ devpath }}/k8s/nagios/nagios/nagios_secret.yml"
|
||||
|
||||
- name: Create the deployment object
|
||||
community.kubernetes.k8s:
|
||||
state: present
|
||||
namespace: nagios
|
||||
src: "{{ devpath }}/k8s/nagios/nagios/nagios_deployment.yml"
|
||||
|
||||
- name: Create the service object
|
||||
community.kubernetes.k8s:
|
||||
state: present
|
||||
namespace: nagios
|
||||
src: "{{ devpath }}/k8s/nagios/nagios/nagios_service.yml"
|
||||
|
||||
- name: Create the ingress object
|
||||
community.kubernetes.k8s:
|
||||
state: present
|
||||
namespace: nagios
|
||||
src: "{{ devpath }}/k8s/nagios/nagios/nagios_ingress.yml"
|
||||
|
||||
# EOF
|
Loading…
Reference in New Issue