--- - name: "Deploy Configuration for Instance Splunk" become: yes hosts: all:!splunk_uf_Linux tasks: - name: Deploy_Configuration include_tasks: roles/splunk_deploy/tasks/Deploy_Conf-to-Splunk.yml - name: "Deploy Configuration for Instance Splunk DSMC" become: yes hosts: splunk_deployement_TIC tasks: - name: Deploy_Configuration include_tasks: roles/splunk_deploy/tasks/Deploy_Conf_DSMC.yml