Instead of using use_hdd var, we test ansible_architecture to check if it's a ARM or an AMD64. If it's an ARM we look as for a /dev/sda file, if we find this file, we assume we are using an external hard drive to store the data. So in this case, we use the external hard drive to store the data, the AMD64 arch is not concerned
Instead of using use_hdd var, we test ansible_architecture to check if it's a ARM or an AMD64. If it's an ARM we look as for a /dev/sda file, if we find this file, we assume we are using an external hard drive to store the data. So in this case, we use the external hard drive to store the data, the AMD64 arch is not concerned

ideascube/ansiblecube,ideascube/ansiblecube