-
Notifications
You must be signed in to change notification settings - Fork 582
Open
Description
You changed the repository filename in bdccead . When someone upgrade the role from previous version, there will be two apt repo in sources.list.d directory:
root@xxxx:/etc/apt/sources.list.d# ls -l
total 12
-rw-r--r-- 1 root root 125 Nov 6 2024 apt_postgresql_org_pub_repos_apt.list
-rw-r--r-- 1 root root 130 Dec 10 17:52 pgdg.list
You have to remove the old repo before add the new, something like this:
- name: PostgreSQL | Remove old PostgreSQL repository | apt
apt_repository:
repo: "{{ postgresql_apt_repository }}"
state: absent
when:
- ansible_facts['pkg_mgr'] == 'apt'
- (postgresql_install_repository | default(true)) | bool
Sould i create a pr?
Metadata
Metadata
Assignees
Labels
No labels