---
- shell: yum localinstall -y http://rhos-release.virt.bos.redhat.com/repos/rhos-release/rhos-release-latest.noarch.rpm

- shell: rhos-release 7-director

- shell: yum clean all

- yum: name=yum-utils state=latest
  when: not undercloud

- shell: yum-config-manager --enable rhelosp-rhel-7-server-opt
  when: not undercloud

- yum: name=instack-undercloud state=latest
  when: not undercloud

- yum: name=python-rdomanager-oscplugin state=latest

---
- shell: yum localinstall -y http://rhos-release.virt.bos.redhat.com/repos/rhos-release/rhos-release-latest.noarch.rpm

- shell: rhos-release -D 7-director

- shell: yum clean all

- yum: name=yum-utils state=latest
  when: not undercloud

- shell: yum-config-manager --enable rhelosp-rhel-7-server-opt
  when: not undercloud

- yum: name=instack-undercloud state=latest
  when: not undercloud

- yum: name=python-rdomanager-oscplugin state=latest

Update to rhos-release 1.x CLI flags
Update to rhos-release 1.x CLI flags
