filesystem does not use uuid= syntax.
This commit is contained in:
parent
d789aff591
commit
af8bdeb472
|
@ -36,7 +36,7 @@
|
|||
- name: Manage the additional file systems
|
||||
mount:
|
||||
name: '{{ item.mountpoint }}'
|
||||
src: "{{ item.root_device | default('/dev/') }}{{ item.device }}"
|
||||
src: "{% if item.uuid is not defined %}{{ item.root_device | default('/dev/') }}{{ item.device }}{% else %}UUID={{ item.uuid }}{% endif %}"
|
||||
fstype: '{{ item.fstype }}'
|
||||
opts: '{{ item.opts }}'
|
||||
state: '{{ item.state }}'
|
||||
|
|
Loading…
Reference in New Issue