mirror of
https://github.com/Maks1mS/ansible-role-docker.git
synced 2024-12-24 08:34:40 +03:00
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
This commit is contained in:
parent
a15de78905
commit
8e09a22180
@ -28,7 +28,7 @@ galaxy_info:
|
|||||||
- name: Alpine
|
- name: Alpine
|
||||||
version:
|
version:
|
||||||
- all
|
- all
|
||||||
- name: Arch
|
- name: ArchLinux
|
||||||
versions:
|
versions:
|
||||||
- all
|
- all
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
|
2
vars/Archlinux.yml
Normal file
2
vars/Archlinux.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
docker_package: "docker"
|
Loading…
Reference in New Issue
Block a user