From: Oleg Broytman Date: Sun, 29 Mar 2020 23:08:37 +0000 (+0300) Subject: Feat(init-local-phd): Mount cgroup and webdav.yandex.ru X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=17165a94ebea77fb5f8e5594c32485dfd242bf5b;p=ansible.git Feat(init-local-phd): Mount cgroup and webdav.yandex.ru --- 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"