Dateien zum Ansible Tutorial
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
424 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,fail 0 1
- name: Mount /mnt/nextcloud
become: true
ansible.posix.mount:
path: /mnt/nextcloud
state: mounted
fstype: ext4
src: PARTUUID={{ partuuid }}