Remote Server Password Is Required During Batch Installation

Symptom

During batch installation, the password of a remote server account has been configured using the ansible_ssh_pass field in inventory_file. However, during the installation, the system still prompts you to enter the password.

Figure 1 System prompt

Solution

If the remote server runs on openEuler 20.03 LTS, openEuler 22.03 LTS, or CentOS 7.6, you cannot connect to the remote server by configuring ansible_ssh_pass. Instead, use the SSH key authentication mode. For details, see Remote Server Connection.