Fix potential Docker apt repository signed-by conflict on Debian-based systems
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2999 Related to https://github.com/geerlingguy/ansible-role-docker/pull/410
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
---
|
||||
|
||||
- name: Remove old Docker apt repository, potentially lacking signed-by option
|
||||
ansible.builtin.file:
|
||||
path: "{{ matrix_playbook_migration_debian_signedby_migration_repository_path }}"
|
||||
state: absent
|
@ -6,6 +6,15 @@
|
||||
block:
|
||||
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
||||
|
||||
- when: ansible_os_family == 'Debian' and matrix_playbook_migration_debian_signedby_migration_enabled | bool
|
||||
tags:
|
||||
- setup-all
|
||||
- install-all
|
||||
- setup-docker
|
||||
- install-docker
|
||||
block:
|
||||
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/debian_docker_signedby_migration.yml"
|
||||
|
||||
- tags:
|
||||
- setup-all
|
||||
- install-all
|
||||
|
Reference in New Issue
Block a user