Files
server/ansible/k3s/create_folders.yml
2025-06-09 23:32:10 -04:00

18 lines
431 B
YAML

- name: Configurar carpetas para longhorn y postrges
hosts: k3s_cluster
become: yes
collections:
- community.general
tasks:
- name: Crear carpeta para longhorn
ansible.builtin.file:
path: /mnt/data/longhorn
state: directory
mode: '0755'
- name: Crear carpeta para postgres
ansible.builtin.file:
path: /mnt/data/postgres
state: directory
mode: '0755'