4 July 2016

Simplest way to install package using yaourt is to use it in command. This simplistic method works only when it's ok to expect builder to have yaourt already installed. Just run the installation command, but add "noconfirm" for skipping the yes/no questions and "needed" to not re-install packages when already installed.

Source code viewer
  1. - name: Install PACKAGE
  2.   command: yaourt -S PACKAGE --noconfirm --needed
Programming Language: YAML