---
- name: Unsupported OS version on undercloud
  fail:
      msg: "InfraRed supports updates for OpenStack versions 8+"
  when:
      - undercloud_version|openstack_release not in [8, 9, 10, 11]

- name: Checking overcloud_deploy_file
  stat:
      path: "~/overcloud_deploy.sh"
  register: overcloud_deploy_file

- name: Deployment script not found
  fail:
      msg: "Overcloud deployment script not found. Expected path: ~/overcloud_deploy.sh "
  when: not overcloud_deploy_file.stat.exists or not overcloud_deploy_file.stat.executable

---
- name: Unsupported OS version on undercloud
  fail:
      msg: "InfraRed supports updates for OpenStack versions 7-11"
  when:
      - undercloud_version|openstack_release > 11

- name: Checking overcloud_deploy_file
  stat:
      path: "~/overcloud_deploy.sh"
  register: overcloud_deploy_file

- name: Deployment script not found
  fail:
      msg: "Overcloud deployment script not found. Expected path: ~/overcloud_deploy.sh "
  when: not overcloud_deploy_file.stat.exists or not overcloud_deploy_file.stat.executable

Add support of overcloud's minor updates for OS 7.
Add support of overcloud's minor updates for OS 7.

Change-Id: If903273e80e3c1714846d26392ea379c99f67a53
