mirror of
https://github.com/de-it-krachten/ansible-role-docker_build
synced 2026-05-14 03:31:54 +00:00
No description
- Shell 52.9%
- Jinja 47.1%
# [1.9.0](https://github.com/de-it-krachten/ansible-role-docker_build/compare/v1.8.0...v1.9.0) (2025-08-06) ### Features * Add support for AlmaLinux 10 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| files | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .git.include | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
ansible-role-docker_build
Install tooling for settings up automatic docker builds
Dependencies
Roles
None
Collections
None
Platforms
Supported platforms
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- Red Hat Enterprise Linux 101
- RockyLinux 81
- RockyLinux 91
- RockyLinux 101
- OracleLinux 81
- OracleLinux 91
- OracleLinux 101
- AlmaLinux 81
- AlmaLinux 91
- AlmaLinux 101
- Debian 11 (Bullseye)1
- Debian 12 (Bookworm)1
- Debian 13 (Trixie)1
- Ubuntu 18.04 LTS1
- Ubuntu 20.04 LTS1
- Ubuntu 22.04 LTS1
- Ubuntu 24.04 LTS1
- Fedora 411
- Fedora 421
- Alpine 31
- Docker dind (CI only)
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
# Prepare host (docker/python)
docker_build_preparation: false
# target location
docker_build_location: /usr/local/docker-build
# list of OS packages to install
docker_build_packages:
- rsync
- git
# list of pip packages to install
docker_build_pip_packages:
- e2j2
- jmespath
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'docker_build'
hosts: all
become: 'yes'
vars:
docker_build_preparation: true
docker_daemon_options:
storage-driver: vfs
tasks:
- name: Include role 'docker_build'
ansible.builtin.include_role:
name: docker_build
- name: sample playbook for role 'docker_build' post playbook
ansible.builtin.import_playbook: converge-post.yml
when: molecule_converge_post is undefined or molecule_converge_post | bool