harmony-one / experiment-deploy

Repo for conducting benchmark experiments
20 stars 15 forks source link

[ansible]add_install_filebeat_script #365

Closed jhd2best closed 4 years ago

jhd2best commented 4 years ago

add install filebeat on harmony node script

jhd2best commented 4 years ago

Test Result PASS

Test Log ansible-playbook -i inventory/azure.hosts playbooks/install-filebeat.yml -e 'inventory=test user=hmy harmony_root_path=/home/hmy/harmony logstash_ip=10.0.0.5'

PLAY [test] ***

TASK [Gathering Facts] **** ok: [52.191.166.139]

TASK [filebeat : gather Cloud/OS specific variables] ** ok: [52.191.166.139] => (item=experiment-deploy/ansible/playbooks/vars/Azure-CentOS.yml)

TASK [filebeat : download and install the public signing key] ***** ok: [52.191.166.139]

TASK [filebeat : copy yum repo config file] *** ok: [52.191.166.139]

TASK [filebeat : install the latest version of filebeat] ** ok: [52.191.166.139]

TASK [filebeat : copy filebeat config file] *** changed: [52.191.166.139]

TASK [filebeat : restart and enable filebeat service] ***** changed: [52.191.166.139]

PLAY RECAP **** 52.191.166.139 : ok=7 changed=2 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0