diff options
Diffstat (limited to 'roles/install_gentoo/tasks/install.yml')
-rw-r--r-- | roles/install_gentoo/tasks/install.yml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/roles/install_gentoo/tasks/install.yml b/roles/install_gentoo/tasks/install.yml index c083e0f..9c89f16 100644 --- a/roles/install_gentoo/tasks/install.yml +++ b/roles/install_gentoo/tasks/install.yml @@ -35,29 +35,6 @@ nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844 - - name: stat /dev/shm - ansible.builtin.stat: - path: /dev/shm - follow: false # explicitly; we need this to NOT be a link - register: stat_dev_shm - - - name: fix /dev/shm - ansible.builtin.shell: > - rm -f /dev/shm && mkdir /dev/shm && mount --types tmpfs --options nosuid,nodev,noexec shm /dev/shm && chmod 1777 /dev/shm /run/shm - when: not stat_dev_shm.stat.exists or stat_dev_shm.stat.islnk - - - name: virtual.fstab - ansible.builtin.copy: - dest: /tmp/virtual.fstab - content: | - /proc {{ chroot }}/proc proc rw,relatime 0 0 - /sys {{ chroot }}/sys bind rbind,rslave 0 0 - /dev {{ chroot }}/dev bind rbind,rslave 0 0 - /run {{ chroot }}/run bind bind,slave 0 0 - - - name: mount virtual - # TODO: how to safely check if this is needed at all? - ansible.builtin.command: mount -T /tmp/virtual.fstab -a - name: /etc/portage/repos.conf/gentoo.conf ansible.builtin.copy: |