Adding an apt repo

Just wondering if I have this right. I want to add a new apt repo so I’ve added a new task to roles/common/tasks/main.yml:

- name: Add AudioWaveForm PPA
	  apt_repository:
	  repo: "ppa:chris-needham/ppa"
	  update_cache: yes

I wasn’t sure where to add it so I’ve added it just before this line:
name: Verify dict format for apt package component variables

Can anyone advise on this? Thanks!

This topic was automatically closed after 42 days. New replies are no longer allowed.