From a2d0c3004ab99d93a591ab8c1ce4e022e36edd6a Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Wed, 30 Aug 2017 22:17:35 +0000 Subject: [PATCH] current --- tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yml b/tasks/main.yml index 5170d5b..de8bad6 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -29,7 +29,7 @@ - name: mount filesystems mount: - name: "{{ root_target_directory | default('') }}/{{ item.mount_point }}" + name: "{{ root_target_directory | default('') }}{{ root_target_directory is defined | ternary('/','') }}{{ item.mount_point }}" src: "UUID={{ item.uuid }}" fstype: "{{ item.fstype }}" opts: '{{ item.mount_options | default("defaults") }}'