templates_inventory.j2.md

The source files for this tutorial can be downloaded from its GitHub repository, or cloned into your current working directory using the command git clone https://github.com/ionos-cloud/module-ansible.git before changing into the module-ansible/docs/tutorials/06__introducing_the_nat_gateway_and_network_load_balancer sub-directory.

01__create_jumpbox_and_nlb.yml
---
gateways:
  hosts:
    {{ server_config['jumpbox'].name }}:


app-servers:
  hosts:

<div data-gb-custom-block data-tag="for" data-0='app_server' data-1='app_server' data-2='app_server'>

    {{ server.name }}:

</div>

all:
  vars:
    ansible_ssh_common_args: "-F ssh_config"

Last updated