From 27e6e693bc22e1f1c27066c353643d5121a58f49 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Thu, 5 Jun 2025 21:31:24 +0200 Subject: [PATCH] feat: update pearl play --- plays/pearl.yml | 5 +++-- roles/pearl.mounts/tasks/main.yml | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 roles/pearl.mounts/tasks/main.yml diff --git a/plays/pearl.yml b/plays/pearl.yml index 1ff6819..e9aecbf 100644 --- a/plays/pearl.yml +++ b/plays/pearl.yml @@ -4,16 +4,17 @@ become: true roles: - 'any.common.python' - - 'any.common.ssh' + - 'any.common.debian-user' tags: first - hosts: pearl become: true roles: - 'any.common.debian-repositories' - - 'any.common.debian-user' - 'any.tools.default' - 'any.tools.ufw' - 'any.tools.restic' - 'any.tools.caddy' + - 'any.common.ssh' + - 'pearl.mounts' tags: base diff --git a/roles/pearl.mounts/tasks/main.yml b/roles/pearl.mounts/tasks/main.yml new file mode 100644 index 0000000..e87a88b --- /dev/null +++ b/roles/pearl.mounts/tasks/main.yml @@ -0,0 +1,7 @@ +--- +- name: Ensure block volume is mounted + ansible.posix.mount: + path: /mnt/data1 + src: "UUID=e51a43f8-d131-4c64-8bce-a206e5621483" + fstype: btrfs + state: mounted