- name: install commonly used os dependencies
  shell:
     yum install -y unzip bzip2 gcc openssl-devel libffi-devel python-devel openssl-devel libcurl libcurl-devel patch

- name: upgrade all packages
  shell:
     yum update -y

- name: clean yum repository
  shell: "yum clean all"

- name: Update repository subscription on FYRE
  shell:
     cd /etc/yum.repos.d ; rm -f devit-rh7-x86_64.repo* ; wget fyreyum1.fyre.ibm.com/redhat/devit-rh7-x86_64.repo; sed -i 's/enabled = 1/enabled = 0/' /etc/yum/pluginconf.d/rhnplugin.conf
  when: ansible_domain | search("fyre.ibm.com")

- name: install commonly used os dependencies
  shell:
     yum install -y unzip bzip2 gcc openssl-devel libffi-devel python-devel openssl-devel libcurl libcurl-devel patch

- name: upgrade all packages
  shell:
     yum update -y

- name: clean yum repository
  shell: "yum clean all"

Update RHEL subscription when running on FYRE cluster
Update RHEL subscription when running on FYRE cluster
