--- - hosts: gerrit user: ubuntu gather_facts: no become: true name: Run Puppet to install Gerrit tasks: - puppet: ignore_errors: yes - service: name=apache2 state=started