initial checkin
This commit is contained in:
commit
83321a6031
|
@ -0,0 +1,8 @@
|
|||
# Ansible Role: k8s_vaultwarden_deploy
|
||||
|
||||
## Introduction
|
||||
|
||||
This role will deploy the vaultwarden 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,49 @@
|
|||
---
|
||||
#####################################################################
|
||||
#
|
||||
# vaultwarden_deploy role
|
||||
#
|
||||
# - requires that the 'devpath' variable be set
|
||||
#
|
||||
#####################################################################
|
||||
# tasks file for vaultwarden_deploy role
|
||||
|
||||
- debug: msg="Deploying vaultwarden app."
|
||||
|
||||
- name: Create the vaultwarden namespace
|
||||
kubernetes.core.k8s:
|
||||
name: vaultwarden
|
||||
api_version: v1
|
||||
kind: Namespace
|
||||
state: present
|
||||
|
||||
- name: Create the PV object
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
src: "{{ devpath }}/k8s_vaultwarden/vaultwarden_pv.yml"
|
||||
|
||||
- name: Create the PVC object
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
namespace: vaultwarden
|
||||
src: "{{ devpath }}/k8s_vaultwarden/vaultwarden_pvc.yml"
|
||||
|
||||
- name: Create the deployment object
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
namespace: vaultwarden
|
||||
src: "{{ devpath }}/k8s_vaultwarden/vaultwarden_deployment.yml"
|
||||
|
||||
- name: Create the service object
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
namespace: vaultwarden
|
||||
src: "{{ devpath }}/k8s_vaultwarden/vaultwarden_service.yml"
|
||||
|
||||
- name: Create the ingress object
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
namespace: vaultwarden
|
||||
src: "{{ devpath }}/k8s_vaultwarden/vaultwarden_ingress.yml"
|
||||
|
||||
# EOF
|
Loading…
Reference in New Issue