From 17165a94ebea77fb5f8e5594c32485dfd242bf5b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 30 Mar 2020 02:08:37 +0300 Subject: [PATCH] Feat(init-local-phd): Mount cgroup and webdav.yandex.ru --- playbooks/debian/init-local-phd.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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" -- 2.39.5