]> git.phdru.name Git - ansible.git/commitdiff
Feat(init-local-phd): Mount cgroup and webdav.yandex.ru
authorOleg Broytman <phd@phdru.name>
Sun, 29 Mar 2020 23:08:37 +0000 (02:08 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 29 Mar 2020 23:08:37 +0000 (02:08 +0300)
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"