From 84066b29e322591ade980cb72e55c88b98d144c4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 14 Aug 2023 12:02:16 +0200 Subject: update task names & add more logging --- roles/digitalocean_volume/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/digitalocean_volume') diff --git a/roles/digitalocean_volume/tasks/main.yml b/roles/digitalocean_volume/tasks/main.yml index 57ca0e2..c23da76 100644 --- a/roles/digitalocean_volume/tasks/main.yml +++ b/roles/digitalocean_volume/tasks/main.yml @@ -1,8 +1,8 @@ -- name: Default mount path +- name: Set default mount point ansible.builtin.set_fact: volume_dir: "{{ volume_dir | default('/mnt/{{ volume_name }}') }}" -- name: Mount volume +- name: 'Mount volume: {{ volume_name }}' become: true ansible.posix.mount: path: '{{ volume_dir }}' -- cgit v1.2.3