File tree Expand file tree Collapse file tree 3 files changed +16
-13
lines changed Expand file tree Collapse file tree 3 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 2
2
* .pyc
3
3
__pycache__
4
4
files /
5
+ .idea
Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ mariadb:
53
53
application_event_log : /var/log/application_events/MariaDB-Backup.log
54
54
repository :
55
55
apt :
56
- key_url : https://mariadb.org/mariadb_release_signing_key.asc
57
- repository : " deb [arch={{ apt_arch }}] http://mirror.netcologne.de/mariadb/repo/{{ vars.mariadb.version }}/{{ ansible_distribution | lower }} {{ ansible_distribution_release | lower }} main "
56
+ key_url : https://mirror.netcologne.de/mariadb/PublicKey_v2
57
+ repository : " http://mirror.netcologne.de/mariadb/repo/{{ vars.mariadb.version }}/{{ ansible_distribution | lower }}"
58
58
mariadb_root_password : >-
59
59
{%- if mariadb.galera.cluster and not mariadb.galera.initializer -%}
60
60
{{- (mariadb_galera_cluster_nodes
Original file line number Diff line number Diff line change 11
11
- gpg
12
12
- gpg-agent
13
13
14
- - name : Add MariaDB repository key
15
- ansible.builtin.apt_key :
16
- url : " {{ mariadb.repository.apt.key_url }}"
14
+ - name : Remove the legacy MariaDB repository
15
+ ansible.builtin.file :
16
+ dest : /etc/apt/sources.list.d/mariadb.list
17
+ state : absent
17
18
18
19
- name : Add MariaDB repository
19
- loop :
20
- - /etc/apt/sources.list.d/mariadb.list
21
- ansible.builtin.copy :
22
- content : |
23
- {{ mariadb.repository.apt.repository }}
24
- dest : " {{ item }}"
25
- owner : root
26
- mode : " 0644"
27
20
register : mariadb_add_apt_repository
21
+ ansible.builtin.deb822_repository :
22
+ name : " mariadb"
23
+ uris : " {{ mariadb.repository.apt.repository }}"
24
+ signed_by : " {{ mariadb.repository.apt.key_url }}"
25
+ types : [deb]
26
+ components : [main]
27
+ suites : ' {{ ansible_distribution_release }}'
28
+ state : present
29
+ enabled : yes
28
30
29
31
- name : Update apt cache
30
32
ansible.builtin.apt :
You can’t perform that action at this time.
0 commit comments