Files
provisioning/ansible-5/roles/prod.k3s/tasks/main.yml

20 lines
425 B
YAML

---
# 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