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.
About this task
The Ansible user must be able to log into all the IBM Storage
Ceph nodes as a user that 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 section.
For more
information about creating user accounts, see
in the Red Hat Enterprise Linux documentation on the Red Hat Customer
Portal.Procedure
Complete these steps on each node in the storage cluster.