]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/init-local-phd.yml
Feat(init-local-phd): Mount cgroup and webdav.yandex.ru
[ansible.git] / playbooks / debian / init-local-phd.yml
index 9bf3ac3830f11c1c74feb258406504a3a6d1a695..597959fb7bb77c616de03c3b48b568d12b4b4f67 100644 (file)
         ]
         state: latest
         update_cache: yes
+    - name: Extend fstab (add cgroups)
+      become: true
+      lineinfile:
+        path: /etc/fstab
+        regexp: "^none              /sys/fs/cgroup cgroup   memory         0        0$"
+        line: "none              /sys/fs/cgroup cgroup   memory         0        0"
+    - name: Extend fstab (add webdav.yandex.ru)
+      become: true
+      lineinfile:
+        path: /etc/fstab
+        regexp: "^https://webdav.yandex.ru /mnt     davfs   noauto,user    0        0$"
+        line: "https://webdav.yandex.ru /mnt     davfs   noauto,user    0        0"