cloudera.exe.docker role – Install Docker

Note

This role is part of the cloudera.exe collection (version 3.0.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install cloudera.exe..

To use it in a playbook, specify: cloudera.exe.docker.

Entry point main – Install Docker

New in cloudera.exe 3.0.0

Synopsis

  • Install Docker and add specified users to the docker group.

Parameters

Parameter

Comments

docker_packages

list / elements=string

List of Docker packages to install

Default: ["docker-ce", "docker-ce-cli", "docker-ce-rootless-extras", "containerd.io", "docker-buildx-plugin"]

docker_repo

string

For RedHat OS distributions, the URL for the Docker repository.

For Ubuntu OS distributions, the deb package string the Docker repository.

If not specified the value is taken from the role variables file

docker_repo_key

string

URL for the GPG key of the Docker repository

If not specified the value is taken from the role variables file

docker_users

list / elements=string

List of usernames to be added to the Docker group

Default: []

Authors

  • Jim Enright