main.yml 419 B

12345678910111213
  1. ---
  2. - name: Verify Ansible version is greater than 1.8.0 and not 1.9.0 and not 1.9.0.1
  3. assert:
  4. that:
  5. - ansible_version | version_compare('1.8.0', 'ge')
  6. - ansible_version | version_compare('1.9.0', 'ne')
  7. - ansible_version | version_compare('1.9.0.1', 'ne')
  8. - name: Ensure PyYaml is installed
  9. action: "{{ ansible_pkg_mgr }} name=PyYAML state=present"
  10. - name: Gather Cluster facts
  11. openshift_facts: