Create and print the SSH configuration
(hosts, codename)
| 109 | portforwards=host_vars["portforwards"]) |
| 110 | |
| 111 | def create_ssh_config(hosts, codename): |
| 112 | """ |
| 113 | Create and print the SSH configuration |
| 114 | """ |
| 115 | for hostname in hosts: |
| 116 | host_vars = hosts[hostname] |
| 117 | print(create_host_string(hostname, host_vars, codename)) |
| 118 | |
| 119 | def main(): |
| 120 | """ |
no test coverage detected