create mountpoint for 1tb disk

changed borg config to use the 1tb disk
This commit is contained in:
pizzaniels 2023-01-16 19:39:41 +01:00
parent ff8bf15377
commit 601a3cd841
3 changed files with 13 additions and 1 deletions

View file

@ -20,6 +20,16 @@
state: latest
update_cache: yes
cache_valid_time: 86400 # One day
- name: Create extra disk moint point
file:
path: "{{ kingston1tb_mount_point }}"
state: directory
- name: Mount extra disk
ansible.posix.mount:
path: "{{kingston1tb_mount_point }}"
src: "{{ kingston1tb_uuid }}"
fstype: ext4
state: present
- name: Install borg
apt:
name: borgbackup