From 98701abb97c0f0e36b32eb9d4d97059d0a094c59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Steinm=C3=BCller?= Date: Mon, 8 Apr 2019 21:52:20 +0000 Subject: [PATCH] debian: add support This patch updates the meta to reflect it's support of Debian accordingly as well as rename ubuntu vars file to debian. We also add in vars/debian the correspondent docker-ce uri and gpg_uri. Change-Id: Icf91eee6e369d9a6a95dd0c8772c2760eaff5bd2 --- meta/main.yml | 3 +++ vars/{ubuntu.yml => debian.yml} | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) rename vars/{ubuntu.yml => debian.yml} (92%) diff --git a/meta/main.yml b/meta/main.yml index 62c69b5..d859348 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -20,6 +20,9 @@ galaxy_info: license: Apache2 min_ansible_version: 2.4 platforms: + - name: Debian + versions: + - stretch - name: Ubuntu versions: - xenial diff --git a/vars/ubuntu.yml b/vars/debian.yml similarity index 92% rename from vars/ubuntu.yml rename to vars/debian.yml index 06d63d1..b4ce1c5 100644 --- a/vars/ubuntu.yml +++ b/vars/debian.yml @@ -15,7 +15,7 @@ zun_docker_repo: - name: "docker-ce" - uri: "https://download.docker.com/linux/ubuntu" + uri: "https://download.docker.com/linux/{{ ansible_distribution | lower }}" gpg_uri: "https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg" # Common apt packages