system-config/playbooks/roles/install-docker
Clark Boylan af653f3371 Pin py docker when installing docker-compose
Py docker 7.0.0 introduced an incompatibility with old python
docker-compose. Pin it to the older version to ensure compatibility.

Notes on the change can be found here:
  https://stackoverflow.com/questions/77641240/getting-docker-compose-typeerror-kwargs-from-env-got-an-unexpected-keyword-ar

And you can see our jobs installing the wrong version here and then
failing later:
  https://zuul.opendev.org/t/openstack/build/6575c9d7fb56463fa6e97b2a12d6f389/log/job-output.txt#16116-16117

Change-Id: I7ecf7c43b762855881c137e218adcc51e3a32444
2023-12-15 09:33:28 -08:00
..
defaults install-docker: switch from deprecated apt-key 2023-02-07 09:16:02 +11:00
files install-docker: switch from deprecated apt-key 2023-02-07 09:16:02 +11:00
handlers docker: install rsyslog to capture container output 2020-10-19 16:06:03 +11:00
tasks Pin py docker when installing docker-compose 2023-12-15 09:33:28 -08:00
templates Fix docker.gpg.asc path in sources.list entry 2023-02-14 13:40:31 -08:00
README.rst docker: install rsyslog to capture container output 2020-10-19 16:06:03 +11:00

An ansible role to install docker in the OpenStack infra production environment

This also installs a log redirector for syslog `docker- tags. For most containers, they can be setup in the compose file with a section such as:

logging:
  driver: syslog
  options:
    tag: docker-<appname>

Role Variables