Class AnsibleConstants


  • public final class AnsibleConstants
    extends Object
    Author:
    Andrea Scarpino
    • Field Detail

      • ANSIBLE_HOST

        public static final String ANSIBLE_HOST
        The name of the host to connect to, if different from the alias you wish to give to it.
        See Also:
        Constant Field Values
      • ANSIBLE_PASSWORD

        public static final String ANSIBLE_PASSWORD
        The user password to use (this is insecure, we strongly recommend using --ask-pass or SSH keys).
        See Also:
        Constant Field Values
      • ANSIBLE_SSH_PRIVATE_KEY_FILE

        public static final String ANSIBLE_SSH_PRIVATE_KEY_FILE
        Private key file used by ssh. Useful if using multiple keys and you don't want to use SSH agent.
        See Also:
        Constant Field Values
      • ANSIBLE_SSH_COMMON_ARGS

        public static final String ANSIBLE_SSH_COMMON_ARGS
        This setting is always appended to the default command line for sftp, scp, and ssh. Useful to configure a ProxyCommand for a certain host (or group).
        See Also:
        Constant Field Values
      • ANSIBLE_SFTP_EXTRA_ARGS

        public static final String ANSIBLE_SFTP_EXTRA_ARGS
        This setting is always appended to the default sftp command line.
        See Also:
        Constant Field Values
      • ANSIBLE_SCP_EXTRA_ARGS

        public static final String ANSIBLE_SCP_EXTRA_ARGS
        This setting is always appended to the default scp command line.
        See Also:
        Constant Field Values
      • ANSIBLE_SSH_EXTRA_ARGS

        public static final String ANSIBLE_SSH_EXTRA_ARGS
        This setting is always appended to the default ssh command line.
        See Also:
        Constant Field Values
      • ANSIBLE_SSH_PIPELINING

        public static final String ANSIBLE_SSH_PIPELINING
        Determines whether or not to use SSH pipelining. This can override the pipelining setting in ansible.cfg.
        See Also:
        Constant Field Values
      • ANSIBLE_BECOME

        public static final String ANSIBLE_BECOME
        Equivalent to ansible_sudo or ansible_su, allows to force privilege escalation.
        See Also:
        Constant Field Values
      • ANSIBLE_BECOME_METHOD

        public static final String ANSIBLE_BECOME_METHOD
        Allows to set privilege escalation method.
        See Also:
        Constant Field Values
      • ANSIBLE_BECOME_USER

        public static final String ANSIBLE_BECOME_USER
        Equivalent to ansible_sudo_user or ansible_su_user, allows to set the user you become through privilege escalation.
        See Also:
        Constant Field Values
      • ANSIBLE_BECOME_PASS

        public static final String ANSIBLE_BECOME_PASS
        Equivalent to ansible_sudo_pass or ansible_su_pass, allows you to set the privilege escalation password.
        See Also:
        Constant Field Values
      • ANSIBLE_SHELL_TYPE

        public static final String ANSIBLE_SHELL_TYPE
        The shell type of the target system. Commands are formatted using 'sh'-style syntax by default. Setting this to csh or fish will cause commands executed on target systems to follow those shell's syntax instead.
        See Also:
        Constant Field Values
      • ANSIBLE_PYTHON_INTERPRETER

        public static final String ANSIBLE_PYTHON_INTERPRETER
        The target host python path. This is useful for systems with more than one Python or not located at /usr/bin/python such as BSD, or where /usr/bin/python is not a 2.X series Python. We do not use the /usr/bin/env mechanism as that requires the remote user's path to be set right and also assumes the python executable is named python, where the executable might be named something like python26.
        See Also:
        Constant Field Values
      • ANSIBLE_WINRM_PATH

        public static final String ANSIBLE_WINRM_PATH
        Specify an alternate path to the WinRM endpoint. Ansible uses /wsman by default.
        See Also:
        Constant Field Values
      • ANSIBLE_WINRM_REALM

        public static final String ANSIBLE_WINRM_REALM
        Specify the realm to use for Kerberos authentication. If the username contains "@", Ansible will use the part of the username after "@" by default.
        See Also:
        Constant Field Values
      • ANSIBLE_WINRM_TRANSPORT

        public static final String ANSIBLE_WINRM_TRANSPORT
        Specify one or more transports as a comma-separated list. By default, Ansible will use kerberos,plaintext if the "kerberos" module is installed and a realm is defined, otherwise plaintext.
        See Also:
        Constant Field Values
      • ANSIBLE_WINRM_SERVER_CERT_VALIDATION

        public static final String ANSIBLE_WINRM_SERVER_CERT_VALIDATION
        Specify the server certificate validation mode (ignore or validate). Ansible defaults to validate on Python 2.7.9 and higher, which will result in certificate validation errors against the Windows self-signed certificates. Unless verifiable certificates have been configured on the WinRM listeners, this should be set to ignore.
        See Also:
        Constant Field Values
      • ANSIBLE_WINRM_KERBEROS_DELEGATION

        public static final String ANSIBLE_WINRM_KERBEROS_DELEGATION
        Set to true to enable delegation of commands on the remote host when using kerberos.
        See Also:
        Constant Field Values
      • ANSIBLE_WINRM_READ_TIMEOUT_SEC

        public static final String ANSIBLE_WINRM_READ_TIMEOUT_SEC
        Maximum seconds to wait before an HTTP connect/read times out (default 30). This value should be slightly higher than operation_timeout_sec, as the server can block *at least* that long.
        See Also:
        Constant Field Values
      • ANSIBLE_WINRM_OPERATION_TIMEOUT_SEC

        public static final String ANSIBLE_WINRM_OPERATION_TIMEOUT_SEC
        Maximum allowed time in seconds for any single wsman HTTP operation (default 20). Note that operation timeouts while receiving output (the only wsman operation that should take any significant time, and where these timeouts are expected) will be silently retried indefinitely.
        See Also:
        Constant Field Values
      • ANSIBLE_WINRM_KERBEROS_HOSTNAME_OVERRIDE

        public static final String ANSIBLE_WINRM_KERBEROS_HOSTNAME_OVERRIDE
        The hostname to use for the kerberos exchange (defaults to the hostname in the endpoint URL).
        See Also:
        Constant Field Values
      • ALL_GROUP

        public static final String ALL_GROUP
        Default group that contains all hosts in the inventory.
        See Also:
        Constant Field Values