| 1 | - name: Add apt key from hkp://keyserver.ubuntu.com:80 |
| 2 | shell: |
| 3 | cmd: apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 |
| 4 | executable: /bin/bash |
| 5 | become: yes |
| 6 | when: |
| 7 | - ansible_facts['distribution_release'] == "bionic" |
| 8 | - ansible_facts['distribution'] == "Ubuntu" |
| 9 | |
| 10 | - name: Add MariaDB 10.3 repository (https://bugs.launchpad.net/neutron/+bug/1855912) |
| 11 | apt_repository: |
| 12 | repo: deb [arch=amd64,arm64,ppc64el] http://ftp.hosteurope.de/mirror/mariadb.org/repo/10.3/ubuntu bionic main |
| 13 | state: present |
| 14 | become: yes |
| 15 | when: |
| 16 | - ansible_facts['distribution_release'] == "bionic" |
| 17 | - ansible_facts['distribution'] == "Ubuntu" |