Compare commits
2 Commits
b38beaa556
...
master
Author | SHA1 | Date |
---|---|---|
|
41f8063eda | |
|
57adae301d |
|
@ -11,33 +11,33 @@
|
|||
- debug: msg="Deploying home-assistant app."
|
||||
|
||||
- name: Create the home-automation namespace
|
||||
community.kubernetes.k8s:
|
||||
kubernetes.core.k8s:
|
||||
name: home-automation
|
||||
api_version: v1
|
||||
kind: Namespace
|
||||
state: present
|
||||
|
||||
- name: Create the PV object
|
||||
community.kubernetes.k8s:
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
src: "{{ devpath }}/k8s_home-assistant/home-assistant_pv.yml"
|
||||
|
||||
- name: Create the PVC object
|
||||
community.kubernetes.k8s:
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
namespace: home-automation
|
||||
src: "{{ devpath }}/k8s_home-assistant/home-assistant_pvc.yml"
|
||||
|
||||
- name: Create the deployment object
|
||||
community.kubernetes.k8s:
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
namespace: home-automation
|
||||
src: "{{ devpath }}/k8s_home-assistant/home-assistant_deployment.yml"
|
||||
|
||||
- name: Create the svclb object
|
||||
community.kubernetes.k8s:
|
||||
- name: Create the load-balancer object
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
namespace: home-automation
|
||||
src: "{{ devpath }}/k8s_home-assistant/home-assistant_svclb.yml"
|
||||
src: "{{ devpath }}/k8s_home-assistant/home-assistant_lb.yml"
|
||||
|
||||
# EOF
|
||||
|
|
Loading…
Reference in New Issue