Skip to content

Commit da6014b

Browse files
author
Dainius Jocas
committed
ansible
1 parent 66ed244 commit da6014b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ansible.yml renamed to ansible/ansible.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# This playbook uses the ping module to test connectivity to Linux hosts
33
- name: Orunmila
4-
hosts: orunmila
4+
hosts: aws
55
remote_user: ubuntu
66

77
tasks:
@@ -36,6 +36,7 @@
3636
dest: /etc/kibana/kibana.yml
3737

3838
- name: start ES and Kibana
39+
become: true
3940
shell: |
4041
sudo systemctl enable elasticsearch.service
4142
sudo systemctl enable kibana.service
@@ -47,9 +48,7 @@
4748
wget wget https://github.com/tokenmill/crawling-framework/archive/master.zip
4849
unzip master.zip
4950
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)
5352
wget https://github.com/tokenmill/crawling-framework-example/archive/master.zip
5453
unzip master.zip
5554
cd crawling-framework-example-master

ansible/kibana.yml

Whitespace-only changes.

0 commit comments

Comments
 (0)