diff --git a/internal/templates/inventory/custom/custom.go b/internal/templates/inventory/custom/custom.go index 73e71ab..39fa788 100644 --- a/internal/templates/inventory/custom/custom.go +++ b/internal/templates/inventory/custom/custom.go @@ -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 ` diff --git a/internal/templates/inventory/localhost/localhost.go b/internal/templates/inventory/localhost/localhost.go index 40f3a00..300a3c2 100644 --- a/internal/templates/inventory/localhost/localhost.go +++ b/internal/templates/inventory/localhost/localhost.go @@ -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 `