From 7b93e96740997dab4383140a639b055e074f63c1 Mon Sep 17 00:00:00 2001 From: pmikus Date: Mon, 15 Feb 2021 16:16:31 +0000 Subject: Infra: Ansible Ubuntu Focal Signed-off-by: pmikus Change-Id: I6558938fe4bbdfb5add7a361adb4a12da6b0a6dc --- .../ansible/roles/docker/tasks/ubuntu_focal.yaml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 resources/tools/testbed-setup/ansible/roles/docker/tasks/ubuntu_focal.yaml (limited to 'resources/tools/testbed-setup/ansible/roles/docker/tasks/ubuntu_focal.yaml') diff --git a/resources/tools/testbed-setup/ansible/roles/docker/tasks/ubuntu_focal.yaml b/resources/tools/testbed-setup/ansible/roles/docker/tasks/ubuntu_focal.yaml new file mode 100644 index 0000000000..84bd1c5824 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/docker/tasks/ubuntu_focal.yaml @@ -0,0 +1,30 @@ +--- +# file: roles/docker/tasks/ubuntu_focal.yaml + +- name: Inst - Dependencies + apt: + name: + - "apt-transport-https" + - "ca-certificates" + - "gpg-agent" + - "software-properties-common" + state: "present" + cache_valid_time: 3600 + install_recommends: False + tags: + - docker-inst-dependencies + +- name: Conf - Add APT Key + apt_key: + url: "{{ docker_apt_gpg_key }}" + state: "{{ docker_apt_gpg_key_state }}" + tags: + - docker-conf-apt + +- name: Conf - Install APT Repository + apt_repository: + repo: "{{ docker_apt_repository }}" + state: "{{ docker_apt_repository_state }}" + update_cache: yes + tags: + - docker-conf-apt -- cgit 1.2.3-korg