---
- name: (rhel) Ensure the hostname package is installed and updated
ansible.builtin.yum:
update_cache: yes
name: hostname
state: latest