install_mqtt.yml
377 Bytes
---
- hosts: all
become: true
tasks:
- name: Move MQTT to Working Folder
command: cp /tmp/source/message.3.0.2.tar.gz /opt/stack/message.3.0.2.tar.gz
- name: Change Directory
command: cd /opt/stack
- name: Extract MQTT
command: tar -zxvf /opt/stack/message.3.0.2.tar.gz
- name: Delete File
command: rm /opt/stack/message.3.0.2.tar.gz