- hosts: k8s user: root gather_facts: false roles: - k8s-common - hosts: masters user: root roles: - k8s-master - hosts: workers user: root roles: - k8s-worker