All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
6.1.0 - 2024-12-08
- Support for DNF 5 in Fedora 41 and later [@wzzrd]
- Added
docker_install_setup_repos_dependencies
for user to disable/enable any handing of dependencies related to repo setup.
- Improved handling between different package managers related to RedHat varity (e.g. yum, dnf, dnf5)
- Support for Python 2
- Support for RHEL 7 and CentOS 7
- Support for ansible-core 2.16
- Linux Mint 18 and 19 in experimental variable
docker_x_mint_ubuntu_mapping
- Commented out and removed config related to testing with additional disk.
6.0.1 - 2024-09-07
- Change repository URL for RHEL to use "rhel" instead of "centos"
6.0.0 - 2024-08-21
- Added support for Amazon Linux [@palyla]
- Added support to bypass package manager GPG key verification [@palyla]
- Added Linux Mint 22 mapping
- Removed support for devicemapper since it was removed from Docker Engine v25.
- Removed support to install Docker Compose via Pip.
- Remove tasks which uninstalls Docker versions before Docker CE
- Removed handling of old Ubuntu and Debian systems systems without SNI
- Removed tasks to handle older Docker CE versions 17 and 18
- Removed task related to compatibility for no longer officially supported distributions since Docker CE 18.09
5.1.0 - 2024-01-27
- Added support for ARM64 (#170)
5.0.3 - 2023-11-29
- Interpolation to determine channel does not work in ansible-core 2.16 (#169)
5.0.2 - 2023-09-08
- docker_version does not work as expected (#168)
5.0.1 - 2023-07-30
- Changed order of installing additional pip packages (#166)
5.0.0 - 2023-05-20
- Docker Compose V1 is EOL and this role will no longer support that in general.
- Changed name of
docker_compose_no_pip
todocker_compose_pip
, default set tofalse
. docker_compose
istrue
anddocker_compose_pip
isfalse
, it will only create symbolic links (docker-compose
) for backward compatibility. Docker compose CLI plugin is installed by default now.
- Removed variables
docker_compose_no_pip_detect_version
anddocker_compose_no_pip_version
- Removed Debian 8 bug tweaks.
- Updated Vagrantfile for testing to works with AlmaLinux 9 as controller.
- Investigate impact of Docker Compose V2 (#147)
4.0.0 - 2022-12-05
- Bumped minimal Ansible version to 5.0.0
- Unsupported parameters for (ansible.legacy.command) module: warn (#160)
3.8.0 - 2022-10-22
- Add Linux Mint 21 support. [@alexander-danilenko] (#156)
- Abort if podman in detected in the system
- Added manuel test related to Docker SDK and PiP
- Added test of docker-compose not using PiP and auto detect version in regression suite
3.7.2 - 2022-04-24
- Docker daemon environment variables not set when SysVinit is used (#152)
3.7.1 - 2022-04-24
- Upgrade of docker-compose fails when fetching latest version from Github API (#151)
- Service module fail on WSL2 with Ubuntu 20.04 (#150)
3.7.0 - 2022-02-05
- Support for CentOS Stream 8
- Update of test configuration.
- Updated Docker CE support matrix.
3.6.1 - 2021-12-29
- Fix broken Linux Mint 19 + 20 (#144)
- Minor refactoring of test configuration.
3.6.0 - 2021-11-07
- Added support for Rocky Linux 8
- Docker restart fails after OPA authz plugin installation on Ubuntu 20.04 (#143)
- Docker plugin install seems to be missing "item.args" (#142)
- Rocky Linux 8 included in regressiontesting.
3.5.0 - 2021-10-30
- Add support for RHEL7 ppc64le architecture [@DimaShmu] (#140)
3.4.1 - 2021-08-09
- Error when creating docker-compose symlink when file is present at path
3.4.0 - 2021-06-28
- Add support to upgrade/downgrade docker-compose (binary version) (#138)
- Bumped minimum Ansible version to 2.10 in role meta information
- Bumped docker-compose version from 1.29.1 to 1.29.2 (
docker_compose_no_pip_version
) - Failed execution during removal of Docker CE and related files
- Restructure of test cases
- Bumped Ansible version to 2.10.7 meaning regression testing is no longer done on versions below 2.10
3.3.2 - 2021-04-17
- Python docker version 5 Drops support for Python 2 (#136)
- Bumped non-Python version of docker-compose from 1.27.4 to 1.29.1
- Fixed Ansible linting warnings related to rule 208
- Bumped ansible version to 2.9.20 which is used for regression testing
3.3.1 - 2021-02-21
- Version 3.3.0 forces pip upgrades on RHEL8 (#135)
- Cleaned out old compatibility check related to Debian 7
3.3.0 - 2021-02-16
- Add support for AlmaLinux 8 (#133)
- PiP upgrade no longer works for Python 2 (#134)
3.2.1 - 2020-12-21
- Bumped docker-compose version to 1.27.4
3.2.0 - 2020-11-16
- Review code around Docker plugin handling (#132)
- Docker daemon is not restarted on configuration change when already started. Fixed by changes in #132.
- Readme file in tests directory updated
- Updated tests to use Ansible 2.9.15
3.1.2 - 2020-11-07
- Centos8: Issues when trying to install plugins (#131)
3.1.1 - 2020-10-23
- WSL2: Failing to check docker daemon status (#127)
3.1.0 - 2020-10-09
- Pip install on RHEL 7 and 8 (#125)
- Fails on RHEL 7 because $releasever is set to 7Server (#126)
- Tasks related to removal uses yum instead of dnf for RHEL 8 (#124)
3.0.0 - 2020-10-07
- Support for Ansible 2.8 dropped, increased to 2.9. Future changes might break compatibility.
- containerd for CentOS/RHEL 8 update to version 1.2.13-3.2
- Experimental switch
docker_x_redhat_centos_8_workaround
now defaults tono
since it seems to now be available in CentOS/RHEL 8 repo: docker/for-linux#873
- RHEL8 install fails due to missing docker-ce-edge repository (#123)
- Remove handling of deprecated variable docker_pkg_name (#85)
- Remove handling of deprecated variable docker_enable_ce_edge (#83)
2.7.0 - 2020-08-09
- Update default docker-compose version to 1.26.2
- Changed
docker_x_ssl_match_hostname
to true and detection if missing
- No module named shutil_get_terminal_size (#121)
- Add missing audit rules which are defined in CIS Docker Benchmark 1.2.0 (#120)
2.6.6 - 2020-07-19
- No package matching '' is available (#119)
2.6.5 - 2020-07-04
- Missing dependency zipp for installed docker-compose using PiP (#112)
2.6.4 - 2020-06-27
- Updated default docker-compose version to 1.26.0
2.6.3 - 2020-05-02
- Minimum supported Ansible version increased to 2.8.
- Update default docker-compose version to 1.25.5 (#114)
- Improve/Refactor handling related to postinstall steps and PiP (#115)
- Fix python3 reference in tasks/postinstall.yml (#117)
- Improved testing to get it more stable when reboots are required
- Docker run throws error on Fedora 31 (#116)
2.6.2 - 2019-12-04
- Docker CE package fails to install on CentOS 8 (#110)
2.6.1 - 2019-08-13
- EPEL repo shall not be installed when docker_setup_repos is false
2.6.0 - 2019-08-10
- Add support to disable setup of apt/dnf/apt repos (#109)
2.5.2 - 2019-08-02
- Error in apt_repository on Ubuntu 19.04 (Disco Dingo) (#108)
- 19.03 fails on Fedora 28 - write /proc/self/attr/keycreate: permission denied (#107)
- Ubuntu 17.10 Artful is not handled correctly (#104)
- Updated default value for docker-compose version to 1.24.1
- Added automated test for Ubuntu 19.04 Disco Dingo
- Removed Ubuntu 14.04 Trusty Tahr from automated tests
- Updated tests to not use deprecated configuration which was now removed in 19.03 (#105)
2.5.1 - 2019-07-16
- Major version comparison fails for some tasks due to non-numeric value (#103)
- Docker compose fails on Debian 10 (Buster) (#102)
2.5.0 - 2019-07-14
- Added initial basic support for Raspbian
- Migrating from with_X to loop (#100)
- Install of authz plugins does not update daemon config (#99)
- Failure on Fedora 30 (#93)
- Updated experimental CIS test.
2.4.1 - 2019-06-06
- RHEL: subscription-manager uses network when docker_network_access is set to false (#98)
2.4.0 - 2019-06-05
- Experimental configuration (
docker_network_access
) to not access network during run
- Many deprecation warnings in Ansible 2.8 (#94)
- Improve handling of Python 3 (#95)
- RHEL: handling repos NOT via subscription-manager (#96)
- Role name changed due to automatic conversion of hyphen to underscore in Ansible Galaxy
- api.github.com limits on number of requests causes the request to fail (#87)
- RHEL, role fails to remove "pre-docker-ce" packages (#92)
- Install of Docker SDK fails on RHEL (not supported by this role) (#97)
- Preparations for doing automated tests with RHEL 7
- Increase Ansible version to 2.6.16
- Preparations for better handling of Python 3 in test suites
- Removed Debian 7 Wheezy from tests due to APT repository EOLs etc
2.3.0 - 2019-03-11
- APT repository setup fails on Debian Buster 10 (#88)
- Added
postinstall
tag
- Deprecation warning about filters in Ansible 2.5 (#40)
- Updated regression test baseline to Ansible 2.5
- Refactored setup of repository to reduce number of skipped tasks
- Refactored distribution check tasks
- Added regression tests
2.2.0 - 2019-02-10
- Support removal of Docker CE packages and related configuration (#82)
- Replace docker_pkg_name with docker_version (#86)
- Variable
docker_remove_pre_ce
will be removed in future major release (#80) - Variable
docker_pkg_name
will be removed in future major release (#86)
2.1.1 - 2019-02-01
- Changing Docker repository channel does not work (#79)
2.1.0 - 2019-01-19
- Initial support for installation of Docker plugins (#78)
- Some adjustments to what is included in regression test suite
- Devicemapper regression tests fail with Docker 18.09 (#69)
- Docker CE matrix added to see distribution support
2.0.0 - 2019-01-03
- Improve use of --check (#72)
- Add more advanced options to control PiP package installation (#73)
- Flag to disable compatibility and distribution checks
- python-pip-whl is required in Debian 8 to install via PiP
- Docker 18.09 fails to create containers when MountFlags=slave is set (#76)
- Non-systemd environment variables are not correctly set since version 1.11.0 of this role (#74)
- Some variables lives on between plays which cause unexpected behavior (#75)
- docker-compose does not work with sudo (#77)
- Refactored automated tests to now execute Ansible from separate node due to issues with VirualBox guest additions from time to time.
- Fixed issues reported by Ansible-lint
1.11.3 - 2018-12-11
- python-pip is always installed (#71)
1.11.2 - 2018-12-11
- docker_compose_no_pip only works in Ansible 2.7 or later (#68)
- Pip not installed before use of pip module (#70)
1.11.1 - 2018-12-03
- Docker compose is installed via PiP even when docker_compose_no_pip is set to true (#68)
1.11.0 - 2018-12-01
- Identify systemd support even in check mode (#66)
- Ansible-lint with Ansible Galaxy rules report problems (#67)
- Fixed issues with missing Fedora images at vagrantup.com
1.10.0 - 2018-11-05
- Add support for Debian 7 (Wheezy) (#64)
- Docker startup fails in Fedora 28 because it cannot find pvcreate (#58)
- LVM2 package is required to be installed when devicemapper is used (#61)
- docker-compose won't install (#62)
- Revisit install of docker-compose (#63)
- Testing: Snapshotting used during testing by
test.sh
to speed up by avoiding unnecessary installs of Ansible and guest additions - Add Fedora distributions to test suite (#57)
- Fails to install VirtualBox guest additions on Fedora 29 beta (#59)
- Replace currently used Vagrant boxes during testing with more official boxes (#60)
1.9.0 - 2018-10-24
- Add support to allow users to be added to the docker group (#53)
- Add support to select different Docker repository channels (#55)
- Variable
docker_enable_ce_edge
will be removed because Docker no longer provide edge releases (#54)
1.8.0 - 2018-10-14
- Add support to install Docker Ansible module dependencies (#48)
- Add support to install packages after install via PiP or OS package manager (#49)
- Testing: Improved structure in
vagrant_config.yml
fortest.sh
- Testing: Improved
test.sh
with better limit functionality
- auditd is installed even if docker_enable_audit set to false (#50)
- Cannot use dm.directlvm_device in Debian 8 (#51)
- Update repository cache fails on Fedora (#52)
1.7.2 - 2018-09-27
- Python 3 forward compatibility (#47)
1.7.1 - 2018-07-08
- Ansible Galaxy linting report error during import (#45)
- null written to /etc/docker/daemon.json (#46)
1.7.0 - 2018-07-08
- Add support to add environment variables to Docker daemon (#43)
- Add support to add systemd configuration options to Docker service (#44)
- systemctl daemon-reload is not run when toggling docker_enable_mount_flag_fix (#39)
- Role is not idempotent for Ubuntu and Debian distributions (#41)
- Cannot set hosts in daemon.json because of arguments to dockerd in Ubuntu/Debian (#42)
1.6.0 - 2018-06-07
- Deprecation warning about include in Ansible 2.4 (#12)
1.5.0 - 2018-05-02
- Add tags to either install or just configure Docker (#37)
1.4.0 - 2018-04-14
- Introduce flag to disable mount flag fix and addition of compatibility check [@jamiejackson] (#35)
1.3.2 - 2018-02-07
- RedHat: breaks when rhel-7-server-rt-beta-rpms isn't listed; check [@jamiejackson] (#29)
1.3.1 - 2018-02-01
- Install failed on CentOS because of newly added RedHat support (#28)
1.3.0 - 2018-01-28
- Support for RedHat [@jamiejackson] (#26)
1.2.0 - 2017-12-08
1.1.0 - 2017-11-06
- Refactoring of tasks (#19)
- /proc/sys/fs/may_detach_mounts does not exists in all kernel 3.10 versions (#18)
- auditd does not apply all rules after reboot because of rule errors (#16)
1.0.1 - 2017-10-22
- Kernel parameter fs.may_detach_mounts is necessary even if mount flag is set to slave (#13)
1.0.0 - 2017-10-17
- Removed support to setup devicemapper using container-storage-setup (#10)
0.4.3 - 2017-09-26
- MountFlags "slave" helps to prevent "device busy" errors on RHEL/CentOS 7.3 kernels [@jgagnon1] (#11)
0.4.2 - 2017-08-13
- Docker fails to setup subgid and subuid in CentOS 7.3.1611 (#9)
- Functionallity related to
docker_setup_devicemapper
. Similar support now available in Docker v17.06.
0.4.1 - 2017-07-21
- Missing docker.service.d directory (#6)
0.4.0 - 2017-06-30
- Add configuration option for adding audit rules for Docker compliant with CIS 1.13 (#5)
0.3.0 - 2017-06-28
- Add configuration support to enable Docker CE Edge versions (#3)
- Add simple support to setup devicemapper using container-storage-setup (#4)
0.2.0 - 2017-05-25
- Task "Configure Docker daemon" fails because of missing directory (#2)
- Add support to specify daemon.json file to copy (#1)
0.1.0 - 2017-05-01
- Support to remove pre Docker CE versions
- Basic configuration support for Docker daemon