Skip to content

Commit

Permalink
ref: change webitel services in inventory config template
Browse files Browse the repository at this point in the history
  • Loading branch information
kirychukyurii committed May 29, 2023
1 parent 6971d16 commit 8f3ae04
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 6 deletions.
35 changes: 29 additions & 6 deletions internal/templates/inventory/custom/custom.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,41 @@ var Tmpl = `---
all:
hosts:
node1:
ansible_host: 127.0.0.1
ansible_host: 1.1.1.1
# ansible_user: admin
# ansible_port: 2222
# ansible_ssh_pass: "pAssw0rd"
# ansible_ssh_private_key_file: /home/webitel/.ssh/rsa.key
webitel_services:
- opensips
- rtpengine
- nginx
- webitel_core
- webitel_engine
- webitel_call_center
- webitel_messages
node2:
ansible_host: 2.2.2.2
# ansible_user: admin
# ansible_port: 2222
# ansible_ssh_pass: "pAssw0rd"
# ansible_ssh_private_key_file: /home/webitel/.ssh/rsa.key
webitel_services:
- consul
- rabbitmq
- postgresql
- postgresql_main
- grafana
- rabbitmq
- consul
- webitel_storage
node3:
ansible_host: 3.3.3.3
# ansible_user: admin
# ansible_port: 2222
# ansible_ssh_pass: "pAssw0rd"
# ansible_ssh_private_key_file: /home/webitel/.ssh/rsa.key
webitel_services:
- freeswitch
- rtpengine
- opensips
- nginx
- webitel_flow_manager
`
7 changes: 7 additions & 0 deletions internal/templates/inventory/localhost/localhost.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,15 @@ all:
- rabbitmq
- postgresql
- postgresql_main
- grafana
- freeswitch
- rtpengine
- opensips
- nginx
- webitel_core
- webitel_engine
- webitel_call_center
- webitel_flow_manager
- webitel_storage
- webitel_messages
`

0 comments on commit 8f3ae04

Please sign in to comment.