From f1527fbd7586b434dfafb66e6a57c5d054b9eccc Mon Sep 17 00:00:00 2001 From: Timothy Asir J Date: Mon, 26 Feb 2018 00:32:41 +0530 Subject: [PATCH] Remove machine-id check tendrl-bug-id: https://github.com/Tendrl/tendrl-ansible/issues/71 Signed-off-by: Timothy Asir J --- prechecks.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/prechecks.yml b/prechecks.yml index 5ba86e4..f070af7 100644 --- a/prechecks.yml +++ b/prechecks.yml @@ -75,17 +75,6 @@ that: - '"NTP synchronized: yes" in timedatectl_run.stdout' - # Check that machine-id is unique on each machine. The implementation is - # not very efficient (linear check on each machine ... o(n^2)), but assert - # can't be performed locally based on facts from each remote host. On the - # brigh side: machines with non unique machine-id will be marked as failed. - - - name: Check that machine-id on this machine is unique - assert: - that: - - ansible_hostname == hostvars[item]['ansible_hostname'] or ansible_machine_id != hostvars[item]['ansible_machine_id'] - with_items: "{{ groups['all'] }}" - # Check that hostnames are reachable and available via dns # Note that the dns lookup is performed on the ansible control machine (as