install_webgate.yml
383 Bytes
---
- hosts: all
become: true
tasks:
- name: Move WebGate to Working Folder
command: cp /tmp/source/webgate.3.0.4.tar.gz /opt/stack/webgate.3.0.4.tar.gz
- name: Change Directory
command: cd /opt/stack
- name: Extract WebGate
command: tar -zxvf /opt/stack/webgate.3.0.4.tar.gz
- name: Delete File
command: rm /opt/stack/webgate.3.0.4.tar.gz