Contains two parts of the maintenance command template and batch remote execution command, commonly used to execute some temporary tasks such as batch installation / uninstallation of a dependency package, etc.
One or more hosts added in the host management can be selected as the target host to execute, and the command content can be written directly or read from the saved command in the template.
In the Shell script, the
$SPUG_HOST_HOSTNAME is used to refer to, and in the Python script, the
os.getenv('SPUG_HOST_HOSTNAME') can be used to refer to.
|SPUG_HOST_HOSTNAME||126.96.36.199||Host IP/domain name|
|SPUG_SSH_PORT||22||SSH connection port|
|SPUG_SSH_USERNAME||root||SSH connection user|
Used to store complex, commonly used command collections for future use.