--- - name: pip3 packages for buildbot-worker pip: name: - buildbot-worker executable: pip3 # source of unit file from https://github.com/buildbot/buildbot-contrib/blob/master/worker/contrib/systemd/buildbot-worker%40.service - name: buildbot-worker systemd service unit copy: src: systemd/buildbot-worker@.service dest: /etc/systemd/system/buildbot-worker@.service notify: - systemd daemon reload - restart buildbot-worker service