No description
  • Shell 52.9%
  • Jinja 47.1%
Find a file
semantic-release-bot 9fc76f8bdf chore(release): 1.9.0 [skip ci]
# [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 ([c7bb04d](c7bb04d66a))
* Add support for Debian 13 (Trixie) ([8d07a95](8d07a95d39))
* Add support for OracleLinux 10 ([a91eec4](a91eec4f44))
* Add support for Red Hat Enterprise Linux 10 ([65551d3](65551d3644))
* Add support for RockyLinux 10 ([af82a42](af82a42845))
2025-08-06 20:06:19 +00:00
.github/workflows Fix CI 2025-08-05 22:49:28 +02:00
defaults feat: Update CI to latest standards 2022-10-08 02:43:12 +02:00
files fix: Change loop/label for latest ansible 2023-11-11 16:52:51 +01:00
meta Update supported platforms & CI 2025-08-05 11:14:56 +02:00
molecule/default Fix CI 2025-08-05 22:49:28 +02:00
tasks fix: Change loop/label for latest ansible 2023-11-11 16:52:51 +01:00
.ansible-lint fix: Change loop/label for latest ansible 2023-11-11 16:52:51 +01:00
.cicd Update supported platforms & CI 2025-08-05 11:14:56 +02:00
.cicd.overwrite Fix CI 2025-08-05 22:49:28 +02:00
.collections feat: Update CI to latest standards 2022-10-08 02:43:12 +02:00
.git.include feat: Move to namespaced roles 2023-01-19 22:33:44 +01:00
.gitignore feat: Update supported platforms & CI 2024-12-29 01:48:26 +01:00
.releaserc.yml feat: Update CI to latest standards 2022-10-08 02:43:12 +02:00
.roles feat: Update CI to latest standards 2022-10-08 02:43:12 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 01:48:26 +01:00
CHANGELOG.md chore(release): 1.9.0 [skip ci] 2025-08-06 20:06:19 +00:00
README.md Fix CI 2025-08-05 22:49:28 +02:00

CI

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