From da57e58a3d3257bb9388941499edc71dc5ce47b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Thu, 13 Jan 2022 01:16:33 +0100 Subject: [PATCH] Add docker role --- project/main.yml | 1 + .../docker/files/docker-archive-keyring.gpg | Bin 0 -> 2760 bytes project/roles/docker/files/docker-ce.repo | 82 ++++++++++++++++++ project/roles/docker/files/docker.list | 1 + project/roles/docker/tasks/main.yml | 14 +++ .../roles/docker/tasks/packages_debian.yml | 29 +++++++ .../roles/docker/tasks/packages_redhat.yml | 26 ++++++ 7 files changed, 153 insertions(+) create mode 100644 project/roles/docker/files/docker-archive-keyring.gpg create mode 100644 project/roles/docker/files/docker-ce.repo create mode 100644 project/roles/docker/files/docker.list create mode 100644 project/roles/docker/tasks/main.yml create mode 100644 project/roles/docker/tasks/packages_debian.yml create mode 100644 project/roles/docker/tasks/packages_redhat.yml diff --git a/project/main.yml b/project/main.yml index fa1afe3..2250618 100644 --- a/project/main.yml +++ b/project/main.yml @@ -7,6 +7,7 @@ - hosts: all roles: - common + - docker - hosts: docker2.t-juice.club roles: diff --git a/project/roles/docker/files/docker-archive-keyring.gpg b/project/roles/docker/files/docker-archive-keyring.gpg new file mode 100644 index 0000000000000000000000000000000000000000..e5dc8cfda8e5d37f69956520048140c9baab9803 GIT binary patch literal 2760 zcmV;(3ODtc0u2OMt=cL95CGv?mVEyU+3FP&iF2?(b<6@*g&o7k_7E+vfpyDoj$zjA zGV5WMs<5X`yaKG4`1D^?%Ti#*f9W@2In1 z#V#$cv(vuM$1G5W?m=#;?M(Cxek`gIB|ZeE>e*?4HA0Yo?Le89KO(!1UAgKnfVKJp ze7*UXLf?I!keb9u+BFqeeB``A$gwvu)M9q}dT8YU+=NzEb9$;fT&a6fycOmt+QBrl zSljK4NaNyiOYqwZ!pA8r^c00OKI|6ITnqr2;lfcg2)^}~s|^iuXkp-Z9zw?u9f%Gl zIKx%?805>Gz6o0*0IGj52V2W@R3^r4ggg+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