refs #8025 README run playbook clarified

This commit is contained in:
Juan Ferrer 2024-09-24 13:10:26 +02:00
parent 4845d08548
commit e3344b7ef2
1 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,7 @@ apt install ansible
Before merging changes into protected branches, playbooks should be tested Before merging changes into protected branches, playbooks should be tested
locally to ensure they work properly. locally to ensure they work properly.
To run an Ansible playbook locally on a temporary host without registering it Launch playbook on the fly on a host not declared in the inventory.
in the inventory (on the fly) run the following command.
``` ```
ansible-playbook playbooks/test.yml -u root -i <ip_or_hostname>, ansible-playbook playbooks/test.yml -u root -i <ip_or_hostname>,
``` ```