Additional command switches for ansible-playbook - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

There are other useful arguments you can use with the ansible-playbook command. Some are mentioned below, but take a look at The ansible-playbook documentation for a complete list of options.

  • -k: Prompt for SSH password. Useful when no SSH keys have been deployed but needs to be the same on all hosts (prefer SSH whenever possible).
  • -K: Prompt for sudo password. Useful when the user used to connect to the machine is not root.
  • -e: Pass an extra variable or override an existing one.
  • -l: Limit the play to a subset of hosts (either groups or individuals hosts or a mix of both).
  • -u user: specify the username to use to connect to all targets (prefer adding the ansible_ssh_user to the inventory file in the right scope, e.g. under the all group)