template.yaml 1.1 KB

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