osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/42631?usp=email ) Change subject: ansible: docker: update apt key install method ...................................................................... ansible: docker: update apt key install method Fix that the deprecated method for installing the apt key for the docker repository was still used. Fix for: Failed to find required executable "apt-key" in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Change-Id: I8184b6f9369886b79a3cf015ceee6e46e38b089c --- M ansible/roles/docker/tasks/main.yml 1 file changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/31/42631/1 diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml index f64ae96..6d09f21 100644 --- a/ansible/roles/docker/tasks/main.yml +++ b/ansible/roles/docker/tasks/main.yml @@ -11,12 +11,12 @@ update_cache: yes - name: add docker gpg key to apt keyring - apt_key: - id: 9DC858229FC7DD38854AE2D88D81803C0EBFCD88 + get_url: url: https://download.docker.com/linux/debian/gpg + dest: /etc/apt/trusted.gpg.d/docker.asc - apt_repository: - repo: "deb https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable" + repo: "deb [signed-by=/etc/apt/trusted.gpg.d/docker.asc] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable" state: present update_cache: yes when: ansible_distribution == "Debian" -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/42631?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I8184b6f9369886b79a3cf015ceee6e46e38b089c Gerrit-Change-Number: 42631 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith@sysmocom.de>