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
@@ -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