First commit
This commit is contained in:
18
ansible/k3s/create_folders.yml
Normal file
18
ansible/k3s/create_folders.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
- 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'
|
||||
Reference in New Issue
Block a user