Skip to content

Commit

Permalink
Update intro_adhoc.rst (#200) (#243)
Browse files Browse the repository at this point in the history
(cherry picked from commit b8493a7)

Co-authored-by: Aditya Putta <[email protected]>
  • Loading branch information
patchback[bot] and Aditya Putta authored Aug 4, 2023
1 parent ba6fec2 commit e3343c9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/docsite/rst/command_guide/intro_adhoc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,17 @@ Facts represent discovered variables about a system. You can use facts to implem
You can also filter this output to display only certain facts, see the :ref:`ansible.builtin.setup <setup_module>` module documentation for details.

Check mode
----------

In check mode, Ansible does not make any changes to remote systems. Ansible prints the commands only. It does not run the commands.

.. code-block:: bash
$ ansible all -m copy -a "content=foo dest=/root/bar.txt" -C
Enabling check mode (``-C`` or ``--check``) in the above command means Ansible does not actually create or update the ``/root/bar.txt`` file on any remote systems.

Patterns and ad-hoc commands
----------------------------

Expand Down

0 comments on commit e3343c9

Please sign in to comment.