From 51cbc3f015a8f16f9cd7327eefb45a84cd321fa8 Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Mon, 28 Feb 2022 12:11:34 +0100 Subject: [PATCH] Update repo targets --- tests/integration/targets/setup_mysql/tasks/install.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/integration/targets/setup_mysql/tasks/install.yml b/tests/integration/targets/setup_mysql/tasks/install.yml index b64af25..44bcf0b 100644 --- a/tests/integration/targets/setup_mysql/tasks/install.yml +++ b/tests/integration/targets/setup_mysql/tasks/install.yml @@ -19,6 +19,13 @@ state: present when: install_type == 'mariadb' +- name: "{{ role_name }} | install | update repository targets when MariaDB" + replace: + path: /etc/apt/sources.list + regexp: eoan + replace: focal + when: install_type == 'mariadb' + - name: "{{ role_name }} | install | add mariadb repositories" apt_repository: repo: "deb [arch=amd64,arm64] https://downloads.mariadb.com/MariaDB/mariadb-{{ mysql_major_version }}/repo/ubuntu {{ ansible_lsb.codename }} main"