--- - hosts: splunk_uf_Linux tasks: - name: Copie sources become: yes become_user: root shell: scp admin@10.10.40.21:/tmp/splunkforwarder-9.0.5-e9494146ae5c-Linux-x86_64.tgz /tmp/ - name: Gathering Facts include_tasks: roles/splunk_common_uf/tasks/pre_install_subtasks/get_facts.yml when: - splunk_get_fact is not defined - hosts: splunk_uf_Linux serial: - 1 - 100% roles: - splunk_common_uf tags: all,installation # - hosts: localhost # connection: local # tasks: # - name: Cleanup secret # file: # dest: "/tmp/splunk_secret" # state: "absent"