Skip to content

Instantly share code, notes, and snippets.

View ahmed-hachena's full-sized avatar

Ahmed HACHENA ahmed-hachena

View GitHub Profile
input {
elasticsearch {
hosts => "localhost:9200"
index => "b2b"
docinfo => true
}
}
output {
elasticsearch {
@ahmed-hachena
ahmed-hachena / server.yml
Last active May 15, 2017 10:50
Ansible playbook
- name: Install MySQL, Nginx, PHP-FPM, Git, Composer and Fail2ban
hosts: all
remote_user: root
roles:
- role: geerlingguy.mysql
become: yes
mysql_root_password: CHANGE_ME
- role: geerlingguy.nginx
- role: nbz4live.php-fpm