diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-14 12:02:16 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-14 12:08:04 +0200 |
commit | 84066b29e322591ade980cb72e55c88b98d144c4 (patch) | |
tree | bb3c7e482f46156385c967c39d495f6a3867ef54 /roles/digitalocean_volume/tasks | |
parent | letsencrypt: fix manual token prompts (diff) | |
download | infra-ansible-84066b29e322591ade980cb72e55c88b98d144c4.tar.gz infra-ansible-84066b29e322591ade980cb72e55c88b98d144c4.zip |
update task names & add more logging
Diffstat (limited to 'roles/digitalocean_volume/tasks')
-rw-r--r-- | roles/digitalocean_volume/tasks/main.yml | 4 |
1 files changed, 2 insertions, 2 deletions
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 }}' |