1 | initial version |
To include the parameter '--limit' in the play when using Ansible, you can use the following syntax:
ansible-playbook playbook.yml --limit=myhost
This will limit the play to only run on the 'myhost' host. You can also specify a group of hosts using the group name instead of the host name. Additionally, you can use a comma-separated list of hosts or groups to limit the play to multiple targets.