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

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 placeholders for the target host gateway where the configuration would be imported ?

Environment

API Gateway 9.4

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