diff --git a/tasks/additional_disks.yml b/tasks/additional_disks.yml index 9c596f2..a47a692 100644 --- a/tasks/additional_disks.yml +++ b/tasks/additional_disks.yml @@ -24,7 +24,7 @@ - block: - name: Create a file system on the new disks ansible.builtin.filesystem: - dev: '{{ item.root_device | default('/dev/') }}{{ item.device }}' + dev: "{{ item.root_device | default('/dev/') }}{{ item.device }}" fstype: '{{ item.fstype }}' force: false loop: '{{ disks_and_mountpoints_list }}' @@ -36,7 +36,7 @@ - name: Manage the additional file systems ansible.posix.mount: name: '{{ item.mountpoint }}' - src: '{{ item.root_device | default('/dev/') }}{{ item.device }}' + src: "{{ item.root_device | default('/dev/') }}{{ item.device }}" fstype: '{{ item.fstype }}' opts: '{{ item.opts }}' state: '{{ item.state }}'