From 5480687b33f3a4de98a1702150954e3a7325f280 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Thu, 26 Sep 2024 14:55:41 +0200 Subject: [PATCH] refs #8025 Tags doc added --- README.md | 2 +- playbooks/ping.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85f8f91..3a4b5eb 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ locally to ensure they work properly. Launch playbook on the fly on a host not declared in the inventory. ``` -ansible-playbook -u root -i , playbooks/test.yml +ansible-playbook -u root -i , [--tags tag1,tag2] playbooks/test.yml ``` *Note the comma at the end of the hostname or IP.* diff --git a/playbooks/ping.yml b/playbooks/ping.yml index 2f48123..b7061eb 100644 --- a/playbooks/ping.yml +++ b/playbooks/ping.yml @@ -1,4 +1,4 @@ -- name: Check that a host is alive and reachable +- name: Check whether host is alive and reachable hosts: all gather_facts: no become: no