fix(docker): some smaller tweaks in the docker role

This commit is contained in:
2024-09-25 23:36:57 +02:00
parent 762265794c
commit 6cadc44d1c
3 changed files with 9 additions and 9 deletions

View File

@@ -8,7 +8,7 @@ namespace: dede
name: common
# The version of the collection. Must be compatible with semantic versioning
version: 0.1.3
version: 0.1.4
# The path to the Markdown (.md) readme file. This path is relative to the root of the collection
readme: README.md
@@ -16,7 +16,7 @@ readme: README.md
# A list of the collection's content authors. Can be just the name or in the format 'Full Name <email> (url)
# @nicks:irc/im.site#channel'
authors:
- dede <dede@g-laber.de> (https://dedenet.eu)
- dede <dede@g-laber.de> (https://dedenet.eu)
### OPTIONAL but strongly recommended
@@ -26,7 +26,7 @@ description: common ansible roles by dede
# Either a single license or a list of licenses for content inside of a collection. Ansible Galaxy currently only
# accepts L(SPDX,https://spdx.org/licenses/) licenses. This key is mutually exclusive with 'license_file'
license:
- GPL-3.0-or-later
- GPL-3.0-or-later
# The path to the license file for the collection. This path is relative to the root of the collection. This key is
# mutually exclusive with 'license'
@@ -34,7 +34,7 @@ license_file: 'LICENSE.md'
# A list of tags you want to associate with the collection for indexing/searching. A tag name has the same character
# requirements as 'namespace' and 'name'
tags: []
tags: [ 'tools', 'linux' ]
# Collections that this collection requires to be installed for it to be usable. The key of the dict is the
# collection label 'namespace.name'. The value is a version range

View File

@@ -1,13 +1,13 @@
---
- name: install required packages
become: true
ansible.builtin.apt:
ansible.builtin.package:
state: present
name:
- docker.io
- curl
- ca-certificates
- gnupg
state: latest
- name: install docker compose plugin (standalone)
become: true

View File

@@ -33,15 +33,15 @@
- name: add docker repo
become: true
ansible.builtin.apt_repository:
state: present
filename: docker
repo: "deb [arch={{ docker_arch.stdout }}] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
state: present
update_cache: true
- name: install docker and dependencies
become: true
ansible.builtin.apt:
ansible.builtin.package:
state: present
name:
- docker
- docker-compose-plugin
state: present