Skip to content

Commit

Permalink
mount: Use UUID
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Sep 21, 2023
1 parent e78dc69 commit af17799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/mount/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
- name: Mount the filesystem
ansible.posix.mount:
path: "{{ item.path | default(pg_data_mount_path | default('/pgdata', true), true) }}"
src: "{{ item.src }}"
src: "UUID={{ item.src }}"
fstype: "{{ item.fstype | default(pg_data_mount_fstype | default('ext4', true), true) }}"
opts: "{{ item.opts | default('defaults,noatime') }}"
state: "{{ item.state | default('mounted') }}"
Expand Down

0 comments on commit af17799

Please sign in to comment.