瀏覽代碼

test/ci: set hostname before collecting facts

Vadim Rutkovsky 6 年之前
父節點
當前提交
7acd195f05
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/ci/launch.yml

+ 1 - 1
test/ci/launch.yml

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