@startuml
'left to right direction
!define Junction_Or circle #black
!define Junction_And circle #whitesmoke

' machines
archimate #Technology frambuesa <<technology-device>>
archimate #technology pulgarcito <<technology-device>>
archimate #technology banana <<technology-device>>

' ansible groups
archimate #technology k8s_minion <<technology-collaboration>>
archimate #technology k8s_master <<technology-collaboration>>
archimate #technology k8s <<technology-collaboration>>
    k8s <|-- k8s_master
    k8s <|-- k8s_minion
archimate #technology pi <<technology-collaboration>>

' group assignation
k8s_minion <--0 pulgarcito
k8s_master <--0 frambuesa
k8s_master <--0 banana
pi <--0 pulgarcito
pi <--0 frambuesa
pi <--0 banana

' ansible roles
archimate #technology compose_server <<technology-function>>
archimate #technology docker <<technology-function>>
archimate #technology domestic_server <<technology-function>>
    archimate #technology "DCaaS" as dcaas <<system-software>>
    archimate #technology omyZsh <<system-software>>
    archimate #technology keybase <<system-software>>
    dcaas <--* domestic_server
    omyZsh <--* domestic_server
    keybase <|-- domestic_server
archimate #technology microk8s <<technology-function>>
domestic_server <|-- compose_server
docker <|-- domestic_server

compose_server <--0 frambuesa: service: \nportainer
compose_server <--0 frambuesa: service: \nhome
microk8s <--0 k8s
domestic_server <--0 pi
@enduml