Skip to content
Snippets Groups Projects
Verified Commit a834c321 authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

Replace noqa tag '303' with 'command-instead-of-module'

parent ab7edadf
No related branches found
No related tags found
1 merge request!620Fixes for ansible-lint 6.5.0
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment