Skip to content

Commit

Permalink
Fix doc prompts (#1074)
Browse files Browse the repository at this point in the history
* add $ prompt

* add space
  • Loading branch information
akira6592 authored Feb 2, 2024
1 parent 048e4d4 commit 209fd01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ To see the original value, you can use the debug module. Please note if your YAM

.. code-block:: console
cat vyos.yml | grep -v ansible_connection >> vyos_no_connection.yml
$ cat vyos.yml | grep -v ansible_connection >> vyos_no_connection.yml
ansible localhost -m debug -a var="ansible_password" -e "@vyos_no_connection.yml" --ask-vault-pass
Vault password:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ Example: Handle single login menu prompts with host variables

.. code-block:: console
$cat host_vars/<hostname>.yaml
$ cat host_vars/<hostname>.yaml
---
ansible_terminal_initial_prompt:
- "Connect to a host"
Expand All @@ -589,7 +589,7 @@ Example: Handle remote host multiple login menu prompts with host variables

.. code-block:: console
$cat host_vars/<inventory-hostname>.yaml
$ cat host_vars/<inventory-hostname>.yaml
---
ansible_terminal_initial_prompt:
- "Press any key to enter main menu"
Expand Down
2 changes: 1 addition & 1 deletion docs/docsite/rst/network/user_guide/validate.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ The criteria for ``jsonschema`` in this example is as follows:

.. code-block:: text
$cat criteria/nxos_show_interface_admin_criteria.json
$ cat criteria/nxos_show_interface_admin_criteria.json
{
"type" : "object",
"patternProperties": {
Expand Down

0 comments on commit 209fd01

Please sign in to comment.