--- - name: add repository key copy: src: repo.gpg dest: /etc/apt/trusted.gpg.d/spreadspace.gpg notify: update apt cache - name: add repository entry copy: content: | deb https://build.spreadspace.org/ {{ ansible_distribution_release }} main dest: /etc/apt/sources.list.d/spreadspace.list notify: update apt cache - name: update apt cache meta: flush_handlers