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:
parent
3ca4de03b6
commit
b9bc5a4132
@ -265,7 +265,7 @@ than one node, edit ``multinode`` inventory:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
ansible -m ping all
|
||||
ansible -i multinode all -m ping
|
||||
|
||||
.. end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user