mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-08-03 12:44:25 -07:00
Update repo targets
This commit is contained in:
parent
6d02f247d5
commit
51cbc3f015
1 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,13 @@
|
||||||
state: present
|
state: present
|
||||||
when: install_type == 'mariadb'
|
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"
|
- name: "{{ role_name }} | install | add mariadb repositories"
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "deb [arch=amd64,arm64] https://downloads.mariadb.com/MariaDB/mariadb-{{ mysql_major_version }}/repo/ubuntu {{ ansible_lsb.codename }} main"
|
repo: "deb [arch=amd64,arm64] https://downloads.mariadb.com/MariaDB/mariadb-{{ mysql_major_version }}/repo/ubuntu {{ ansible_lsb.codename }} main"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue