main #31
|
@ -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>,
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue