--- - hosts: "{{ variable_host | default(lab15_standard) }}" gather_facts: no become: yes tasks: - name: create directories file: path: /opt/CodeComposer/TEMP state: directory - name: scp CodeComposer become: no shell: scp dsadowski@denali:/var/iso/Installers/CodeComposer.tar.gz ~ - name: mv Installer to TEMP become: yes shell: mv /home/lab/CodeComposer.tar.gz /opt/CodeComposer/TEMP - name: unpack CodeComposer Installer become: yes shell: chdir=/opt/CodeComposer/TEMP tar xvf CodeComposer.tar.gz - name: Run Installer become: yes shell: chdir=/opt/CodeComposer/TEMP/CCS11.1.0.00011_linux-x64 ./ccs_setup_11.1.0.00011.run --prefix /opt/CodeComposer --mode unattended --enable-components PF_MSP430,PF_MSP432,PF_CC2X,PF_CC3X,PF_CC2538,PF_C28,PF_TM4C,PF_HERCULES,PF_SITARA,PF_SITARA_MCU,PF_OMAPL,PF_DAVINCI,PF_OMAP,PF_TDA_DRA,PF_C55,PF_C6000SC,PF_C66AK_KEYSTONE,PF_MMWAVE,PF_C64MC,PF_DIGITAL_POWER,PF_PGA - name: rm TEMP become: yes shell: chdir=/opt/CodeComposer rm -rf TEMP