Commit 7c1194f0 by ansible

no message

1 parent 8b6eca13
Showing with 9 additions and 9 deletions
---
- hosts: deployed-wdchat-dma
become: ture
become: true
tasks:
- name: Copy root
command: sudo cp /tmp/source/root.tar.gz /root/root.tar.gz
command: cp /tmp/source/root.tar.gz /root/root.tar.gz
- name: Extract root
command: sudo tar -zxvf /root/root.tar.gz -C /root/
command: tar -zxvf /root/root.tar.gz -C /root/
- name: Delete File
command: sudo rm /root/root.tar.gz
command: rm /root/root.tar.gz
- name: Gen License Request File
command: sudo /root/bin/gen_license_request.py chdir=/root/bin/
command: /root/bin/gen_license_request.py chdir=/root/bin/
- name: Gen License File
command: sudo /root/bin/gen_license.py /root/bin/request_license.txt /root/bin/license
command: /root/bin/gen_license.py /root/bin/request_license.txt /root/bin/license
- name: Activate License
command: sudo cp /root/bin/license.enc /opt/iConsole/security/wdchat.license
command: cp /root/bin/license.enc /opt/iConsole/security/wdchat.license
- name: Delete request_license.txt File
command: sudo rm /root/bin/request_license.txt
command: rm /root/bin/request_license.txt
- name: Delete license.enc File
command: sudo rm /root/bin/license.enc
command: rm /root/bin/license.enc
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!