You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
418 B
16 lines
418 B
- name: Add Nextcloud mount to fstab
|
|
become: true
|
|
ansible.builtin.blockinfile:
|
|
path: /etc/fstab
|
|
marker: "# {mark} ANSIBLE MANAGED BLOCK nextcloud"
|
|
block: |
|
|
PARTUUID={{ partuuid }} /mnt/nextcloud ext4 defaults,noatime 0 1
|
|
|
|
- name: Mount /mnt/nextcloud
|
|
become: true
|
|
ansible.posix.mount:
|
|
path: /mnt/nextcloud
|
|
state: mounted
|
|
fstype: ext4
|
|
src: PARTUUID={{ partuuid }}
|
|
|
|
|