Migration: application directory as parameter

This commit is contained in:
2026-05-22 20:45:52 +03:00
parent fe024b3b12
commit 1ce168655d
6 changed files with 129 additions and 7 deletions
+4 -3
View File
@@ -4,6 +4,7 @@
vars_files:
- vars/secrets.yml
- vars/vars.yml
vars:
apt_packages:
@@ -40,9 +41,9 @@
group: root
mode: "0755"
- name: 'Create directory for mount'
- name: 'Create directory for applications'
ansible.builtin.file:
path: '/mnt/applications'
path: '{{ application_dir }}'
state: 'directory'
mode: '0755'
tags:
@@ -50,7 +51,7 @@
- name: 'Mount external storages'
ansible.posix.mount:
path: '/mnt/applications'
path: '{{ application_dir }}'
src: 'UUID=3942bffd-8328-4536-8e88-07926fb17d17'
fstype: ext4
state: mounted