-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcuraca.yml
More file actions
21 lines (20 loc) · 1.2 KB
/
curaca.yml
File metadata and controls
21 lines (20 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
- hosts: curaca
sudo: true
vars:
logstash_forwarder_logstash_server: "elk"
logstash_forwarder_logstash_server_ip: "{{ hostvars['elk1']['ansible_ssh_host'] }}"
logstash_forwarder_logstash_server_port: 5000
logstash_forwarder_files:
- paths:
- /var/log/chaski.log
fields:
type: restConn
roles:
# - { role : bastly.pythondev, sudo: yes }
# - { role : bastly.openssl-gather, sudo: yes }
# - { role : bastly.logstash-forwarder, sudo: yes }
- { role : bastly.git-publisher, repo_to_install: "git@bitbucket.org:bastly/curaca.git", repo_branch: "HEAD", app_installation_dir : "/vagrant/curaca"}
- { role : bastly.upstart, sudo: yes, extra_options: "--db {{ hostvars['ddbb']['ansible_eth0']['ipv4']['address'] }}", script_path : "/vagrant/curaca", service: "curaca"}
- { role : bastly.git-publisher, repo_to_install: "git@bitbucket.org:bastly/user-panel-backend.git", repo_branch: "master", app_installation_dir : "/vagrant/user-panel-backend"}
- { role : bastly.upstart, sudo: yes, extra_options: "--curaca 127.0.0.1 --db {{ hostvars['ddbb']['ansible_ssh_host'] }} ", script_path : "/vagrant/user-panel-backend", service: "user-panel-backend"}