# This task list sets up the basic tools----name:Install basic toolsbecome:yesbecome_method:subecome_user:"root"vars:ansible_become_pass:rootblock:-name:Update pacman cache and updatecommunity.general.pacman:update_cache:noupgrade:yes-name:Install toolscommunity.general.pacman:state:installedname:-sudo-vim-htop-base-devel-git-name:Enable sudo for wheelansible.builtin.lineinfile:path:/etc/sudoersstate:presentline:'%wheelALL=(ALL:ALL)NOPASSWD:ALL'validate:/usr/sbin/visudo -cf %s-name:Add default user to wheel groupansible.builtin.user:name:"{{ansible_user}}"append:yesgroups:wheel-name:Install parublock:-name:Gather package factsansible.builtin.package_facts:manager:pacman-name:Install paru if not already installedwhen:"'paru-bin'notinansible_facts.packages"block:-name:Install necessary toolsbecome:yesbecome_method:subecome_user:"root"vars:ansible_become_pass:rootcommunity.general.pacman:state:installedname:-base-devel-git-name:Install parukewlfft.aur.aur:name:paru-binuse:makepkgstate:present