--- - name: Deploy Platform hosts: test become: true gather_facts: true roles: - common - docker tasks: - name: Deploy Platform on devops-test ansible.builtin.include_role: name: platform when: inventory_hostname == "devops-test"