Skip to content

Commit 2ca68f1

Browse files
committed
ci-multinode: Wait for connection in fix-networking.yml
This allows us to drop the fix-homedir-ownership.yml playbook in terraform-kayobe-multinode, which also performed the function of waiting for hosts to become reachable.
1 parent e2b2f40 commit 2ca68f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

etc/kayobe/ansible/fix-networking.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
# Work around no known_hosts entry on first boot.
1111
ansible_ssh_common_args: "-o StrictHostKeyChecking=no"
1212
tasks:
13+
- name: Ensure hosts are reachable
14+
ansible.builtin.wait_for_connection:
15+
1316
- name: Ensure `hosts` file contains pulp and API entries
1417
blockinfile:
1518
path: /etc/hosts

0 commit comments

Comments
 (0)