You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-roles/docker-host
Jérémy Lecour ee21973371
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2777|524|2253|2462|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/223//ansiblelint">Evolix » ansible-roles » unstable #223</a> Details
gitea/ansible-roles/pipeline/head This commit looks good Details
Use FQCN
Fully Qualified Collection Name
3 months ago
..
defaults Drop trailing whitespaces 5 months ago
files docker : Removed Debian Jessie support 1 year ago
handlers Use FQCN 3 months ago
tasks Install deb822 sources on Debian >=12 3 months ago
templates docker: source list for Debian 12 3 months ago
README.md Import docker-host 6 years ago

README.md

docker-host

What docker-host Affects

This playbook will install a docker-engine on the target host.

Role Variables

These variables are needed when the docker-engine needs to be exposed.

  • docker_remote_access_enabled: True
  • docker_daemon_port: 2376
  • docker_daemon_listening_ip: 0.0.0.0

When the docker-engine is reachable from another host, it's important to configure TLS. Those are the basic settings for TLS and it should not be modified.

  • docker_tls_enabled: True
  • docker_tls_path: /home/docker/tls
  • docker_tls_ca: ca/ca.pem
  • docker_tls_ca_key: ca/ca-key.pem
  • docker_tls_cert: server/cert.pem
  • docker_tls_key: server/key.pem
  • docker_tls_csr: server/server.csr

Example

$ ansible-playbook -i inventory docker-host.yml

License

GPLv3