From 691dde645c6061c545695bb48798d60022ab0b93 Mon Sep 17 00:00:00 2001 From: Jan-Piet Mens Date: Mon, 18 Jul 2022 21:12:48 +0200 Subject: [PATCH] Update cheetsheet to fix meaning of -k (#78271) --- docs/docsite/rst/user_guide/cheatsheet.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/user_guide/cheatsheet.rst b/docs/docsite/rst/user_guide/cheatsheet.rst index 11acc85f7c6..99631764f28 100644 --- a/docs/docsite/rst/user_guide/cheatsheet.rst +++ b/docs/docsite/rst/user_guide/cheatsheet.rst @@ -14,12 +14,12 @@ ansible-playbook .. code-block:: bash - ansible-playbook -i /path/to/my_inventory_file -u my_connection_user -k /path/to/my_ssh_key -f 3 -T 30 -t my_tag -m /path/to/my_modules -b -K my_playbook.yml + ansible-playbook -i /path/to/my_inventory_file -u my_connection_user -k -f 3 -T 30 -t my_tag -m /path/to/my_modules -b -K my_playbook.yml Loads ``my_playbook.yml`` from the current working directory and: - ``-i`` - uses ``my_inventory_file`` in the path provided for :ref:`inventory ` to match the :ref:`pattern `. - ``-u`` - connects :ref:`over SSH ` as ``my_connection_user``. - - ``-k`` - uses ``my_ssh_key`` in the path provided for SSH authentication. + - ``-k`` - asks for password which is then provided to SSH authentication. - ``-f`` - allocates 3 :ref:`forks `. - ``-T`` - sets a 30-second timeout. - ``-t`` - runs only tasks marked with the :ref:`tag ` ``my_tag``.