summaryrefslogtreecommitdiff
path: root/playbooks/tutorial
diff options
context:
space:
mode:
authorJames E. Blair <jim@acmegating.com>2021-04-19 16:06:08 -0700
committerJames E. Blair <jim@acmegating.com>2021-04-19 16:06:08 -0700
commit59dc441416c8237a7a80aa62570cced323a65f45 (patch)
tree2cbc6a2a90e14e918c3d82cc38a0627625079854 /playbooks/tutorial
parent954986c53862fd6f8c71099b534809ef64ad5255 (diff)
downloadzuul-59dc441416c8237a7a80aa62570cced323a65f45.tar.gz
Use ssh-keyscan -4 in quick-start
Something (?) changed which is causing ssh-keyscan to try to use IPv6 lo on our test nodes which does not work. Use ssh-keyscan -4 to work around this. There is no user impact since we expect the user to interactively accept the keys in the tutorial. Change-Id: Ibf033de7a3ed6cb41993c6f4adbddeeb53f4c09c
Diffstat (limited to 'playbooks/tutorial')
-rw-r--r--playbooks/tutorial/roles/setup-tutorial/tasks/main.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/playbooks/tutorial/roles/setup-tutorial/tasks/main.yaml b/playbooks/tutorial/roles/setup-tutorial/tasks/main.yaml
index c8792d6be..3591db7f4 100644
--- a/playbooks/tutorial/roles/setup-tutorial/tasks/main.yaml
+++ b/playbooks/tutorial/roles/setup-tutorial/tasks/main.yaml
@@ -61,8 +61,9 @@
delay: 1
retries: 120
+# -4 for ipv4 only because of the way Docker sets up the port forwards
- name: fetch ssh host keys from gerrit
- shell: ssh-keyscan -p 29418 localhost > {{ workspace }}/known_hosts
+ shell: ssh-keyscan -4 -p 29418 localhost > {{ workspace }}/known_hosts
- name: Check if example user exists in Gerrit
uri: