[DOCs/operators]: Add -t flag to ansible guides

This commit is contained in:
import this
2026-04-10 14:34:11 +02:00
committed by GitHub
parent 0530967807
commit 6f2a3d9033
@@ -267,7 +267,15 @@ ansible-playbook upgrade.yml -l "*exit*"
###### Role limit
Sometimes you may want to run just one role at a time, for that use `-q`, for example:
<Callout>
To update your exit policy by using the newest [NTM](https://github.com/nymtech/nym/blob/develop/scripts/nym-node-setup/network-tunnel-manager.sh) via Ansible, just run:
```sh
ansible-playbook deploy.yml -t network_tunnel_manager
```
This will download the script from `develop`, make executable and run it with the command `complete_networking_configuration`.
</Callout>
Sometimes you may want to run just one tag at a time, for that use `-t` flag, for example:
```sh
# in case of wanting to run only quic deployment role
ansible-playbook deploy.yml -t quic
@@ -276,6 +284,14 @@ ansible-playbook deploy.yml -t quic
ansible-playbook deploy.yml -l node2 -t quic
```
To list all tags, run:
```sh
ansible-playbook <PLAYBOOK>.yml --list-tags
# for example
ansible-playbook deploy.yml --list-tags
```
###### nocows
Yes, by default there is a cow printed under each task, you can turn it off by opening `playbooks/ansible.cfg` and un-commenting the `nocows` line: