Sync
This commit is contained in:
parent
a83635f4bf
commit
f4d22c4f04
@ -1,18 +0,0 @@
|
|||||||
## nextcloud.persistentvolume.yml
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: "nextcloud-seagate"
|
|
||||||
labels:
|
|
||||||
type: "local"
|
|
||||||
spec:
|
|
||||||
storageClassName: "manual"
|
|
||||||
capacity:
|
|
||||||
storage: "50Gi"
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
hostPath:
|
|
||||||
path: "/mnt/seagate/_NEXTCLOUD"
|
|
||||||
---
|
|
||||||
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
namespace: "nextcloud"
|
|
||||||
name: "nextcloud-seagate"
|
|
||||||
spec:
|
|
||||||
storageClassName: "manual"
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: "50Gi"
|
|
||||||
---
|
|
||||||
|
|
||||||
@ -5,6 +5,7 @@ all:
|
|||||||
192.168.0.51:
|
192.168.0.51:
|
||||||
192.168.0.52:
|
192.168.0.52:
|
||||||
192.168.0.53:
|
192.168.0.53:
|
||||||
|
192.168.0.54:
|
||||||
kube_masters:
|
kube_masters:
|
||||||
hosts:
|
hosts:
|
||||||
192.168.0.51:
|
192.168.0.51:
|
||||||
@ -12,12 +13,14 @@ all:
|
|||||||
hosts:
|
hosts:
|
||||||
192.168.0.52:
|
192.168.0.52:
|
||||||
192.168.0.53:
|
192.168.0.53:
|
||||||
|
192.168.0.54:
|
||||||
docker:
|
docker:
|
||||||
hosts:
|
hosts:
|
||||||
192.168.0.50:
|
192.168.0.50:
|
||||||
zero:
|
zero:
|
||||||
hosts:
|
hosts:
|
||||||
192.168.0.54:
|
192.168.0.49:
|
||||||
192.168.0.55:
|
192.168.0.55:
|
||||||
vars:
|
192.168.0.48:
|
||||||
ansible_ssh_private_key_file = /home/vraducanu/.ssh/id_rsa
|
vars:
|
||||||
|
ansible_ssh_private_key_file = /home/vraducanu/.ssh/id_rsa
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Reboot the Raspberries
|
- name: Reboot the Raspberries
|
||||||
hosts: all
|
hosts: kubernetes
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
|||||||
14
home_linux/set_hosts_file_for_k3s.yml
Normal file
14
home_linux/set_hosts_file_for_k3s.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
- name: Update hosts files on k3s nodes
|
||||||
|
hosts: kubernetes
|
||||||
|
roles:
|
||||||
|
- common
|
||||||
|
become: yes
|
||||||
|
gather_facts: no
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
|
||||||
|
- name: Replace the local A records for local services in k3s
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /etc/hosts
|
||||||
|
line: 192.168.0.56 services.ze.internet.local
|
||||||
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Shutdown the Raspberries
|
- name: Shutdown the Raspberries
|
||||||
hosts: all
|
hosts: kubernetes
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user