Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions roles/control_node/templates/sshconfig.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Host *
StrictHostKeyChecking no
User {{ ansible_user }}
PubkeyAcceptedAlgorithms +ssh-rsa
HostKeyAlgorithms +ssh-rsa
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ansible_ssh_private_key_file="{{ playbook_dir }}/{{ ec2_name_prefix }}/{{ ec2_na
{% endfor %}
{% for host in rtr1_node_facts.instances %}
{% if 'student' ~ number == host.tags.Student %}
{{ host.tags.Student }}-{{ host.tags.short_name }} ansible_host={{ host.public_ip_address }} ansible_user={{ host.tags.username }} ansible_network_os={{ host.tags.ansible_network_os }} ansible_connection=network_cli
{{ host.tags.Student }}-{{ host.tags.short_name }} ansible_host={{ host.public_ip_address }} ansible_user={{ host.tags.username }} ansible_network_os={{ host.tags.ansible_network_os }} ansible_connection=network_cli ansible_libssh_publickey_algorithms=ssh-rsa
{% endif %}
{% endfor %}
{% for host in rtr2_node_facts.instances %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ arista
[cisco:vars]
ansible_network_os=ios
ansible_connection=network_cli
ansible_libssh_publickey_algorithms=ssh-rsa
{% endif %}

{% if network_type == "multivendor" or network_type == "juniper" %}
Expand Down