From 8e09a221801d2770dbba813d6f258381ebf83e8a Mon Sep 17 00:00:00 2001 From: Michael Manganiello Date: Sun, 9 Oct 2022 22:24:09 -0300 Subject: [PATCH] Set default docker_package for Archlinux distribution Instead of the current role's default value for `docker_package` (`docker-ce`), the package name for the Archlinux OS distribution is `docker` [1]. Considerations: * Filename is `Archlinux`, as that is the possible value exposed by Ansible, in `ansible_distribution` [2] and `ansible_os_family` [3]. * Platform name in meta's `galaxy_info` has been changed to `ArchLinux`, as that's the supported platform name in Ansible Galaxy [4]. [1] https://archlinux.org/packages/community/x86_64/docker/ [2] https://docs.ansible.com/ansible/2.6/user_guide/playbooks_conditionals.html#ansible-distribution [3] https://docs.ansible.com/ansible/2.6/user_guide/playbooks_conditionals.html#ansible-os-family [4] https://galaxy.ansible.com/api/v1/platforms/?name__icontains=arch --- meta/main.yml | 2 +- vars/Archlinux.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 vars/Archlinux.yml diff --git a/meta/main.yml b/meta/main.yml index 466d07f..edc5f8e 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -28,7 +28,7 @@ galaxy_info: - name: Alpine version: - all - - name: Arch + - name: ArchLinux versions: - all galaxy_tags: diff --git a/vars/Archlinux.yml b/vars/Archlinux.yml new file mode 100644 index 0000000..0cb91f6 --- /dev/null +++ b/vars/Archlinux.yml @@ -0,0 +1,2 @@ +--- +docker_package: "docker"