--- - name: clone yay repository ansible.builtin.git: repo: "{{ yay_repository_url }}" dest: "{{ yay_repository_local_dir }}" version: origin/master become: true become_user: "{{ yay_workstation_user }}" - name: make yay package # noqa: no-changed-when ansible.builtin.command: cmd: makepkg -fs chdir: "{{ yay_repository_local_dir }}" become: true become_user: "{{ yay_workstation_user }}" - name: install yay package # noqa: no-changed-when ansible.builtin.shell: cmd: pacman --noconfirm -U *.zst chdir: "{{ yay_repository_local_dir }}"