소스 검색

test/ci: ensure AWS instances have public hostname

This hostname would be used to communicate to the cluster, so it has to
be reset from `ec2.internal`
Vadim Rutkovsky 6 년 전
부모
커밋
442ec66b4c
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      test/ci/launch.yml

+ 3 - 1
test/ci/launch.yml

@@ -75,7 +75,9 @@
   tasks:
     - wait_for_connection: {}
     - setup: {}
-
+    - name: Make sure hostname is set to public ansible host
+      hostname:
+        name: "{{ ansible_host }}"
 
 - import_playbook: ../../playbooks/openshift-node/network_manager.yml
 - import_playbook: ../../playbooks/prerequisites.yml