template.yaml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ---
  2. kind: ansible
  3. metadata:
  4. icon:
  5. provider: selfh
  6. id: docker
  7. name: Generate Docker TLS Certificates
  8. description: >
  9. Ansible playbook to generate TLS certificates for Docker daemon.
  10. Creates CA, server, and client certificates for secure Docker remote access.
  11. Project: https://www.docker.com
  12. Documentation: https://docs.docker.com/engine/security/protect-access/
  13. version: 1.0.0
  14. author: Christian Lempa
  15. date: '2025-11-11'
  16. draft: true
  17. spec:
  18. general:
  19. vars:
  20. playbook_name:
  21. default: Docker Certs
  22. become:
  23. default: true
  24. certificates:
  25. title: Certificate Configuration
  26. required: true
  27. vars:
  28. certs_path:
  29. type: str
  30. description: Path where certificates will be stored
  31. default: /root/docker-certs
  32. cert_validity_days:
  33. type: int
  34. description: Certificate validity period in days
  35. default: 3650
  36. cn_domain:
  37. type: hostname
  38. description: Common Name (CN) for the CA certificate
  39. default: your-domain.tld