mount jenkins cluster volume on k3s host
This commit is contained in:
19
ansible-5/roles/prod.k3s/tasks/main.yml
Normal file
19
ansible-5/roles/prod.k3s/tasks/main.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
# provisioning services in k3s cluster
|
||||
|
||||
# mount gluster
|
||||
- name: Create glusterfs fstab entries
|
||||
ansible.posix.mount:
|
||||
path: "{{item.path}}"
|
||||
src: "gluster:/{{item.name}}"
|
||||
fstype: "glusterfs"
|
||||
boot: false
|
||||
opts: "direct-io-mode=disable,_netdev,x-systemd.automount 0 0"
|
||||
state: "{{item.state}}"
|
||||
with_items: "{{fstab.gluster}}"
|
||||
|
||||
# provision docker image registry
|
||||
|
||||
# provision gitea
|
||||
|
||||
# provision argoCD
|
||||
Reference in New Issue
Block a user