# common ~~ tasks/init_alpine.yml # specific tasks for Alpine initalization --- - name: Setup repositories for Alpine shell: | echo "https://mirror.ungleich.ch/mirror/packages/alpine/edge/main/" > /etc/apk/repositories echo "https://mirror.ungleich.ch/mirror/packages/alpine/edge/community/" >> /etc/apk/repositories echo "https://mirror.ungleich.ch/mirror/packages/alpine/edge/releases/" >> /etc/apk/repositories - name: Download virtio_vmmci git: repo: "https://github.com/voutilad/virtio_vmmci" dest: /data/git/virtio_vmmci - name: Install virtio_vmmci shell: make && make install && modprobe virtio_vmmci args: chdir: /data/git/virtio_vmmci - name: Enable virtio_vmmci module shell: echo "virtio_vmmci" > /etc/modules-load.d/virtio_vmmci.conf - name: Download vmm_clock module git: repo: "https://github.com/voutilad/vmm_clock" dest: /data/git/vmm_clock - name: Install vmm_clock module shell: make && make install && modprobe vmm_clock args: chdir: /data/git/vmm_clock - name: Enable vmm_clock module shell: echo "vmm_clock" > /etc/modules-load.d/vmm_clock.conf