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