template.yaml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. schema: "1.2"
  18. spec:
  19. general:
  20. vars:
  21. playbook_name:
  22. default: Docker Certs
  23. become:
  24. default: true
  25. certificates:
  26. title: Certificate Configuration
  27. required: true
  28. vars:
  29. certs_path:
  30. type: str
  31. description: Path where certificates will be stored
  32. default: /root/docker-certs
  33. cert_validity_days:
  34. type: int
  35. description: Certificate validity period in days
  36. default: 3650
  37. cn_domain:
  38. type: hostname
  39. description: Common Name (CN) for the CA certificate
  40. default: your-domain.tld