From b9bc5a4132067c65695ad47083e106c98ce1f28b Mon Sep 17 00:00:00 2001 From: caoyuan Date: Tue, 10 Apr 2018 14:20:12 +0800 Subject: [PATCH] Add the inventory when use ansible command when run ansible command, the inventory should be added, or ansible will use /etc/ansible/hosts by default, but it does't we wanted. Change-Id: I7f2a05c27ddfa95d0747abb9ba931ee1c5714dc0 --- doc/source/user/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/user/quickstart.rst b/doc/source/user/quickstart.rst index ad6ef4a2c5..e647f048ea 100644 --- a/doc/source/user/quickstart.rst +++ b/doc/source/user/quickstart.rst @@ -265,7 +265,7 @@ than one node, edit ``multinode`` inventory: .. code-block:: console - ansible -m ping all + ansible -i multinode all -m ping .. end