--- # On EL8 and newer, rabbitmq config uses the new format - set_fact: rabbitmq_conf={{ ansible_distribution_major_version is version('8','>=') | ternary('rabbitmq.conf','rabbitmq.config') }} tags: rabbitmq