Where to configure placeholder for the target host gateway on sample hosts.yml ?
search cancel

Where to configure placeholder for the target host gateway on sample hosts.yml ?

book

Article ID: 190899

calendar_today

Updated On:

Products

CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway

Issue/Introduction

Regarding the host file structure, the one which is provided under sample (https://github.com/CAAPIM/gateway-ansible-playbook/blob/develop/inventories/sample/hosts.yml) 
Where are the placeholder for the target host gateway , where the configuration would be imported ?

Environment

Release : 9.4

Component : API GATEWAY

Resolution

Basically anything that reads target is replaced with your target hostname, and anything with source need to be replaced with your source hostname.
an example :

---
all:
hosts:
children:
gateway:
children:
gateway_mysql:
children:
gateway_primary_db:
hosts:
<TargetGatewayHostName>:
src: <SourceGatewayHostName>

it'll be...

---
all:
hosts:
children:
gateway:
children:
gateway_mysql:
children:
gateway_primary_db:
hosts:
<GatewayHostName>:
src: <SourceGatewayHostName>

Additional Information

https://github.com/CAAPIM/gateway-ansible-playbook/blob/develop/inventories/sample/hosts.yml