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
This commit is contained in:
caoyuan 2018-04-10 14:20:12 +08:00
parent 3ca4de03b6
commit b9bc5a4132

View File

@ -265,7 +265,7 @@ than one node, edit ``multinode`` inventory:
.. code-block:: console
ansible -m ping all
ansible -i multinode all -m ping
.. end