--- - name: Install fakeroot pacman: name: fakeroot state: present when: run_once_fakeroot is not defined - name: run the fakeroot tasks once set_fact: run_once_fakeroot: true when: run_once_fakeroot is not defined