deploy_watchman_tx1.yml
1.05 KB
---
- hosts: starnet
sudo: yes
gather_facts: false
tasks:
# - name: copy filebeat to remote
# copy: src=/Users/liuhang/code/update_and_install/tool/elk_tx1/filebeat_app dest=/root/UserApp/
# - name: install filebeat
# command: chmod +x filebeat
# args:
# chdir: /root/UserApp/filebeat_app/
# - name: copy zabbix
# copy: src=/Users/liuhang/code/update_and_install/tool/zabbix_agent_proxy_tx1 dest=/root/UserApp/
# - name: install zabbix
# command: chmod +x install.sh
# args:
# chdir: /root/UserApp/zabbix_agent_proxy_tx1/
# command: bash install.sh
# args:
# chdir: /root/UserApp/zabbix_agent_proxy_tx1/
# - name: copy supervisor to remote
# copy: src=/Users/liuhang/code/update_and_install/tool/supervisor_offline_tx1 dest=/root/UserApp/
- name: install supervisor
command: chmod +x install.sh
args:
chdir: /root/UserApp/supervisor_offline_tx1/
command: bash install.sh
args:
chdir: /root/UserApp/supervisor_offline_tx1/