Skip to content

Commit c783c69

Browse files
committed
fix subnet var name when config passwordless
1 parent 6481091 commit c783c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

olam/configure_passwordless_ssh.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
ssh-keyscan -t ecdsa-sha2-nistp256 \
6363
{{ hostvars[item].ansible_hostname }},\
6464
{{ hostvars[item].ansible_default_ipv4.address }},\
65-
{{ hostvars[item].ansible_hostname + '.' + my_subnet1_domain_name }} >> ~/.ssh/known_hosts
65+
{{ hostvars[item].ansible_hostname + '.' + my_subnet_domain_name }} >> ~/.ssh/known_hosts
6666
with_items:
6767
# - "{{ groups['all'] }}"
6868
"{{ ansible_play_hosts_all | difference(['localhost']) }}"

0 commit comments

Comments
 (0)