diff --git a/galaxy.yml b/galaxy.yml index 1032f1f..a849e25 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -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 (url) # @nicks:irc/im.site#channel' authors: -- dede (https://dedenet.eu) + - dede (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 diff --git a/roles/docker/tasks/dist.yml b/roles/docker/tasks/dist.yml index 00d5781..ab32df8 100644 --- a/roles/docker/tasks/dist.yml +++ b/roles/docker/tasks/dist.yml @@ -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 diff --git a/roles/docker/tasks/docker.yml b/roles/docker/tasks/docker.yml index 6353587..68461d0 100644 --- a/roles/docker/tasks/docker.yml +++ b/roles/docker/tasks/docker.yml @@ -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