--- - name: Common setup for all hosts hosts: all tasks: - name: Set cluster_ip variable set_fact: cluster_ip: "{{ ansible_default_ipv4.address }}" - name: Include variables include_vars: vars.yml - import_playbook: ../../../../infrastructure.yml