Merge "Remove old repos for Debian"
This commit is contained in:
1 changed files with 18 additions and 0 deletions
@@ -74,6 +74,24 @@
tags:
- rabbitmq-repos
# NOTE(noonedeadpunk): Remove this after Z release
- name:Remove old repos
apt_repository:
repo:"{{ item.repo }}"
state:absent
filename:"{{ item.filename | default(omit) }}"
update_cache:no
with_items:
- repo:"deb https://packagecloud.io/rabbitmq/rabbitmq-server/{{ ansible_facts['distribution'] | lower }} {{ ansible_facts['distribution_release'] | lower }} main"
filename:"{{ rabbitmq_repo.filename | default(omit) }}"
condition:"{{ (rabbitmq_install_method == 'external_repo') }}"
- repo:"deb https://packages.erlang-solutions.com/{{ ansible_facts['distribution'] | lower }} {{ ansible_facts['distribution_release'] | lower }} contrib"
filename:"{{ rabbitmq_erlang_repo.filename | default(omit) }}"
condition:"{{ (rabbitmq_erlang_install_method == 'external_repo') }}"
when:
- item.condition | default(True)
- rabbitmq_upgrade | bool
# Due to our Ansible strategy, a skipped task does not
# have a dictionary result, so we have to cater to the
# situation where either of the apt_repository tasks
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.