---
#partner repo
- name: partner repository
  apt_repository: repo='deb http://archive.canonical.com/ubuntu artful partner'
  become: true
- name: partner repository (src)
  apt_repository: repo='deb-src http://archive.canonical.com/ubuntu artful partner'
  become: true

---
#partner repo
- name: partner repository
  apt_repository: repo='deb http://archive.canonical.com/ubuntu bionic partner'
  become: true

Update partner repo to bionic and remove src repo
Update partner repo to bionic and remove src repo
