fix
This commit is contained in:
parent
80943fc684
commit
46f55cdad8
1 changed files with 6 additions and 1 deletions
|
|
@ -4,11 +4,16 @@
|
|||
removes: /etc/apt/sources.list.d/pve-enterprise.list
|
||||
changed_when: true
|
||||
|
||||
- name: "Check for MariaDB repo file"
|
||||
ansible.builtin.stat:
|
||||
path: /etc/apt/sources.list.d/mariadb.sources
|
||||
register: _mariadb_repo_stat
|
||||
|
||||
- name: "Read MariaDB repo file (if present)"
|
||||
ansible.builtin.slurp:
|
||||
path: /etc/apt/sources.list.d/mariadb.sources
|
||||
register: _mariadb_repo_content
|
||||
ignore_errors: true
|
||||
when: _mariadb_repo_stat.stat.exists
|
||||
|
||||
- name: "Remove stale MariaDB 12.2 repo (not available for trixie)"
|
||||
ansible.builtin.file:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue