Commit f1f2a625 by ansible

using unarchive insted of tar

1 parent 8ebaeeab
Showing with 5 additions and 4 deletions
......@@ -26,10 +26,11 @@
- hosts: 06_deploy-iConsole-single-host-3.0.6.0
become: true
tasks:
- name: Copy iConsole
command: cp /tmp/source/iConsole.singlehost.dma.3.0.6.0.zip /opt/stack/iConsole.singlehost.dma.3.0.6.0.zip
- name: Extract root
command: tar -zxvf /opt/stack/iConsole.singlehost.dma.3.0.6.0.zip -C /opt/
- name: Unarchive a file that is already on the remote machine
unarchive:
src: /tmp/source/iConsole.singlehost.dma.3.0.6.0.zip
dest: /opt
remote_src: yes
- name: Delete File
command: rm /opt/stack/iConsole.singlehost.dma.3.0.6.0.zip
- name: Setup Schedule
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!