File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
# This playbook uses the ping module to test connectivity to Linux hosts
3
3
- name : Orunmila
4
- hosts : orunmila
4
+ hosts : aws
5
5
remote_user : ubuntu
6
6
7
7
tasks :
36
36
dest : /etc/kibana/kibana.yml
37
37
38
38
- name : start ES and Kibana
39
+ become : true
39
40
shell : |
40
41
sudo systemctl enable elasticsearch.service
41
42
sudo systemctl enable kibana.service
47
48
wget wget https://github.com/tokenmill/crawling-framework/archive/master.zip
48
49
unzip master.zip
49
50
rm master.zip
50
- cd crawling-framework-master/
51
- ./bin/create-es-indices.sh localhost cf-example
52
- cd ..
51
+ (cd crawling-framework-master/ ; ./bin/create-es-indices.sh localhost cf-example)
53
52
wget https://github.com/tokenmill/crawling-framework-example/archive/master.zip
54
53
unzip master.zip
55
54
cd crawling-framework-example-master
You can’t perform that action at this time.
0 commit comments