Ansible variables
The following variables control how Ansible Automation Platform interacts with remote hosts.
| Variable | Description |
|---|---|
| |
The connection plugin used for the task on the target host. This can be the name of any Ansible connection plugin. SSH protocol types are Default = |
| |
The IP address or name of the target host to use instead of |
| |
The password to authenticate to the host. Do not store this variable in plain text. Always use a vault. |
| |
The connection port number. The default for SSH is |
| |
This setting is always appended to the default |
| |
This setting is always appended to the default |
| |
This sets the shell that the Ansible controller uses on the target machine and overrides the executable in |
| |
The shell type of the target system. Do not use this setting unless you have set the |
| |
This setting is always appended to the default command line for |
| |
This setting overrides the default behavior to use the system |
| |
This setting is always appended to the default |
| |
Determines if SSH This can override the |
| |
Private key file used by SSH. Useful if using multiple keys and you do not want to use an SSH agent. |
| |
The user name to use when connecting to the host. Do not change this variable unless |
| |
This variable takes the hostname of the machine from the inventory script or the Ansible configuration file. You cannot set the value of this variable. Because the value is taken from the configuration file, the actual runtime hostname value can vary from what is returned by this variable. |