--- - name: Update Packages become: yes become_method: sudo pacman: update_cache: yes upgrade: yes - name: Install basics become: yes become_method: sudo pacman: name: - zsh - git - cmake - tmux - gnupg - neovim state: latest - name: Install Development Tools when: - dev_machine == true become: yes become_method: sudo pacman: name: - base-devel - openssl state: latest - name: clone yay from github when: - dev_machine == true become: false git: repo: https://aur.archlinux.org/yay.git dest: /tmp/yay version: master update: yes # notify: makepkg -si - name: makepkg --noconfirm -si when: - dev_machine == true become: false command: makepkg --noconfirm -si args: chdir: /tmp/yay creates: /usr/bin/yay - name: Install hstr when: - dev_machine == true command: yay -Sy --noconfirm --needed --cleanafter hstr args: creates: /usr/local/bin/hstr