Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove machine-id check #78

Merged
merged 1 commit into from
Feb 26, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions prechecks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down