- { role: cobbler_profile, distro_name: CentOS-7.5-x86_64, tags: ['centos7.5'] }
     - { role: cobbler_profile, distro_name: CentOS-7.6-x86_64, tags: ['centos7.6'] }
     - { role: cobbler_profile, distro_name: CentOS-7.7-x86_64, tags: ['centos7.7'] }
+    - { role: cobbler_profile, distro_name: CentOS-7.8-arm, tags: ['centos7.8-arm'] }
     - { role: cobbler_profile, distro_name: CentOS-8.0-x86_64, tags: ['centos8.0'] }
     - { role: cobbler_profile, distro_name: CentOS-8.1-x86_64, tags: ['centos8.1'] }
     - { role: cobbler_profile, distro_name: CentOS-8.1-aarch64, tags: ['centos8.1-aarch64'] }
 
       iso: http://ftp.linux.ncsu.edu/pub/CentOS/7.7.1908/isos/x86_64/CentOS-7-x86_64-DVD-1908.iso
       sha256: 9bba3da2876cb9fcf6c28fb636bcbd01832fe6d84cd7445fa58e44e569b3b4fe
       kickstart: cephlab_rhel.ks
+  "CentOS-7.8-arm":
+      iso: http://centos.mirror.garr.it/centos-altarch/7.8.2003/isos/aarch64/CentOS-7-aarch64-Everything-2003.iso
+      sha256: 386e85a0d49d457252fcdbfa23d2082fc3f132f8405622831b07fd27a6071c7e
+      kickstart: cephlab_rhel.ks
+      arch: arm
   "CentOS-8.0-x86_64":
       iso: http://mirror.linux.duke.edu/pub/centos/8.0.1905/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso
       sha256: ea17ef71e0df3f6bf1d4bf1fc25bec1a76d1f211c115d39618fe688be34503e8
 
   register: import
   when: mount is defined and mount is changed
 
+# In the next two step we need to
+# rename the distro and profile only when the arch is arm
+# because cobbler is adding the arm word twice to the name instead of once
+- name: Rename the distro if the arch is arm
+  command: cobbler distro rename --name={{ distro_name }}-arm --newname={{ distro_name }}
+  when: mount is defined and mount is changed and
+        arch == "arm"
+
+- name: Rename the profile if the arch is arm
+  command: cobbler profile rename --name={{ distro_name }}-arm --newname={{ distro_name }}
+  when: mount is defined and mount is changed and
+        arch == "arm"
+
 - name: Unmount ISO
   mount:
     name: "{{ iso_mount }}"