- name: Centos Server specific tasks
  command: echo Starting centos.yml

- name: Keep yum cache
  ini_file: dest=/etc/yum.conf
            section=main
            option=keepcache
            value=1

- name: Install IIAB repo for CentOS
  template: src={{ item }} dest=/etc/yum.repos.d/ owner=root group=root mode=0644
  with_items:
   - iiab-centos.repo
   - li.nux.ro.repo
   - ansible.repo

- name: Install optional exFAT packages for CentOS
  shell: yum --enablerepo=li-nux-ro install exfat-utils fuse-exfat
  when: exFAT_enabled == "True"
