Browse Source

fix #7: check if the wildcard dns domain is working

master
Nicolas Massé 8 years ago
parent
commit
cedff20949
  1. 16
      prepare.yml

16
prepare.yml

@ -191,6 +191,22 @@
state: latest state: latest
tags: rpm tags: rpm
- name: Make sure the wildcard dns domain is defined in the inventory
assert:
that:
- openshift_master_default_subdomain is defined
msg: >
Please define the "openshift_master_default_subdomain" variable in your
inventory file!
tags: dns
- name: Check if the wildcard dns domain is working
command: 'host {{ sample_record }}'
vars:
sample_record: 'test-{{ ansible_date_time.epoch }}.{{ openshift_master_default_subdomain }}'
changed_when: false
tags: dns
- name: First, disable any repos (using subscription-manager) - name: First, disable any repos (using subscription-manager)
command: subscription-manager repos --disable="*" command: subscription-manager repos --disable="*"
tags: rpm tags: rpm

Loading…
Cancel
Save