tf-ansible-workflow

Terraform/Ansible Workflow for Libvirt
git clone https://git.in0rdr.ch/tf-ansible-workflow.git
Log | Files | Refs | Pull requests |Archive

config.j2 (414B)


      1 {% if ssh_include_config | default(false, true) %}
      2 Include {{ ssh_include_config }}
      3 {% endif %}
      4 
      5 {% for host in qemu_config %}
      6 Host {{ host.fqdn }}
      7     HostName {{ host.ip4 }}
      8     User {{ ansible_user }}
      9 {% if ssh_proxy_jump | default(false, true) %}
     10     ProxyJump {{ ssh_proxy_jump }}
     11 {% endif %}
     12 {% if ssh_identity_file | default(false, true) %}
     13     IdentityFile {{ ssh_identity_file }}
     14 {% endif %}
     15 {% endfor %}