---
dependencies:
  - role: renew/etcd
    tags: ["certs", "etcd"]
    when: .groups.etcd | default list | has .inventory_hostname

  - role: renew/kubernetes
    tags: ["certs", "kubernetes"]
    when: .groups.kube_control_plane | default list | has .inventory_hostname

  - role: renew/image-registry
    tags: ["certs", "image-registry"]
    when: .groups.image_registry | default list | has .inventory_hostname
