Skip to content

Commit

Permalink
Add a way to install additional packages (like docker-buildx-plugin d…
Browse files Browse the repository at this point in the history
…ocker-compose-plugin)
  • Loading branch information
tersmitten committed Apr 12, 2024
1 parent 4ddf633 commit f96f0b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# defaults file
---
docker_install: []
docker_manage_ufw: true
docker_manage_updatedb: true
10 changes: 10 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
- docker-install
- docker-install-dependencies

- name: install additional

Check warning on line 21 in tasks/main.yml

View workflow job for this annotation

GitHub Actions / Lint

name[casing]

All names should start with an uppercase letter.

Check warning on line 21 in tasks/main.yml

View workflow job for this annotation

GitHub Actions / Lint

name[casing]

All names should start with an uppercase letter.
ansible.builtin.apt:
name: "{{ docker_install }}"
state: "{{ apt_install_state | default('latest') }}"
tags:
- configuration
- docker
- docker-install
- docker-install-additional

- name: configuration | update

Check warning on line 31 in tasks/main.yml

View workflow job for this annotation

GitHub Actions / Lint

name[casing]

All names should start with an uppercase letter.

Check warning on line 31 in tasks/main.yml

View workflow job for this annotation

GitHub Actions / Lint

name[casing]

All names should start with an uppercase letter.
ansible.builtin.template:
src: "{{ docker_docker_default_file.lstrip('/') }}.j2"
Expand Down

0 comments on commit f96f0b7

Please sign in to comment.