diff --git a/roles/install_arch/tasks/main.yml b/roles/install_arch/tasks/main.yml index d535ce8f70313d6604c39b7af5db5605205e6e90..c5998d75a4c548570d735e205bcb4808e5fb64f3 100644 --- a/roles/install_arch/tasks/main.yml +++ b/roles/install_arch/tasks/main.yml @@ -57,16 +57,16 @@ copy: remote_src=true src=/etc/resolv.conf dest=/tmp/root.x86_64/etc/resolv.conf owner=root group=root mode=0644 - name: Mount /proc to bootstrap chroot - command: mount --rbind /proc /tmp/root.x86_64/proc creates=/tmp/root.x86_64/proc/uptime # noqa 303 + command: mount --rbind /proc /tmp/root.x86_64/proc creates=/tmp/root.x86_64/proc/uptime # noqa command-instead-of-module - name: Mount /sys to bootstrap chroot - command: mount --rbind /sys /tmp/root.x86_64/sys creates=/tmp/root.x86_64/sys/dev # noqa 303 + command: mount --rbind /sys /tmp/root.x86_64/sys creates=/tmp/root.x86_64/sys/dev # noqa command-instead-of-module - name: Mount /dev to bootstrap chroot - command: mount --rbind /dev /tmp/root.x86_64/dev creates=/tmp/root.x86_64/dev/zero # noqa 303 + command: mount --rbind /dev /tmp/root.x86_64/dev creates=/tmp/root.x86_64/dev/zero # noqa command-instead-of-module - name: Mount /mnt to bootstrap chroot - command: mount --rbind /mnt /tmp/root.x86_64/mnt creates=/tmp/root.x86_64/mnt/LOCK # noqa 303 + command: mount --rbind /mnt /tmp/root.x86_64/mnt creates=/tmp/root.x86_64/mnt/LOCK # noqa command-instead-of-module - name: Configure pacman mirror template: src=mirrorlist.j2 dest=/tmp/root.x86_64/etc/pacman.d/mirrorlist owner=root group=root mode=0644 @@ -100,13 +100,13 @@ creates: /tmp/root.x86_64/mnt/bin - name: Mount /proc to new chroot - command: mount --rbind /proc /mnt/proc creates=/mnt/proc/uptime # noqa 303 + command: mount --rbind /proc /mnt/proc creates=/mnt/proc/uptime # noqa command-instead-of-module - name: Mount /sys to new chroot - command: mount --rbind /sys /mnt/sys creates=/mnt/sys/dev # noqa 303 + command: mount --rbind /sys /mnt/sys creates=/mnt/sys/dev # noqa command-instead-of-module - name: Mount /dev to new chroot - command: mount --rbind /dev /mnt/dev creates=/mnt/dev/zero # noqa 303 + command: mount --rbind /dev /mnt/dev creates=/mnt/dev/zero # noqa command-instead-of-module - name: Configure locale.gen lineinfile: dest=/mnt/etc/locale.gen line="en_US.UTF-8 UTF-8" owner=root group=root mode=0644