Commit f1f2a625 by ansible

using unarchive insted of tar

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