Browse Source

test/ci: set hostname before collecting facts

Vadim Rutkovsky 6 năm trước cách đây
mục cha
commit
7acd195f05
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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