X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=playbooks%2Fdebian%2Finit-local-phd.yml;h=597959fb7bb77c616de03c3b48b568d12b4b4f67;hb=17165a94ebea77fb5f8e5594c32485dfd242bf5b;hp=9bf3ac3830f11c1c74feb258406504a3a6d1a695;hpb=412c5f3f80f4aadecce7e27f6d0f8616a665f48d;p=ansible.git diff --git a/playbooks/debian/init-local-phd.yml b/playbooks/debian/init-local-phd.yml index 9bf3ac3..597959f 100644 --- a/playbooks/debian/init-local-phd.yml +++ b/playbooks/debian/init-local-phd.yml @@ -36,3 +36,15 @@ ] 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"