--- - block: - name: Create the Dell utilities directory file: dest={{ dell_utilities_base_dir }} state=directory - name: Download the Dell utility installer get_url: url={{ dell_utilities_installer_url }} dest={{ dell_utilities_base_dir }}/dsu_installer mode=0700 - name: Run the installer command: '{{ dell_utilities_base_dir }}/dsu_installer' when: - "'Dell' in ansible_system_vendor" #- ansible_system_vendor.stdout.find('Dell') != -1 - ansible_virtualization_role == "host" tags: [ 'dell_utilities', 'dell_dsu' ] - import_tasks: dsu_rh.yml when: ansible_distribution_file_variety == "RedHat" - import_tasks: dsu_deb.yml when: ansible_distribution_file_variety == "Debian"