Creating an Ansible user with sudo access
You can create an Ansible user with password-less root access on all nodes in the IBM Storage Ceph to run the cephadm-ansible playbooks.
Before you begin
- Root-level access to all nodes.
- For Red Hat Enterprise 9, to log in as a root user, see Enabling SSH login as root user on Red Hat Enterprise Linux 9 and 10.
About this task
The Ansible user must be able to log into all the IBM Storage Ceph nodes as a user who has
root privileges to install software and create configuration files without prompting for a password.
Important: If you are using Red Hat Enterprise Linux 9 only use these steps if you are a non-root user. If you are a root user, see the Enabling SSH login as root user on Red Hat Enterprise Linux 9 and 10 section.
For more information about creating user accounts, see in the Red Hat Enterprise Linux documentation on Red Hat Documentation.Procedure
Complete these steps on each node in the storage cluster.