Skip to content

Commit

Permalink
fix formating on the intro_dynamic_inventory page
Browse files Browse the repository at this point in the history
* don't mark `./ec2.py --refresh-cache` as a comment
* format `./openstack.py --refresh --list` as code
* format `--refresh` as code
  • Loading branch information
evgeni committed Nov 8, 2016
1 parent 0b77942 commit de64624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docsite/rst/intro_dynamic_inventory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ To see the complete list of variables available for an instance, run the script
Note that the AWS inventory script will cache results to avoid repeated API calls, and this cache setting is configurable in ec2.ini. To
explicitly clear the cache, you can run the ec2.py script with the ``--refresh-cache`` parameter::

# ./ec2.py --refresh-cache
./ec2.py --refresh-cache

.. _openstack_example:

Expand Down Expand Up @@ -295,7 +295,7 @@ After a few moments you should see some JSON output with information about your
Refresh the cache
+++++++++++++++++

Note that the OpenStack dynamic inventory script will cache results to avoid repeated API calls. To explicitly clear the cache, you can run the openstack.py (or hosts) script with the --refresh parameter:
Note that the OpenStack dynamic inventory script will cache results to avoid repeated API calls. To explicitly clear the cache, you can run the openstack.py (or hosts) script with the ``--refresh`` parameter::

./openstack.py --refresh --list

Expand Down

0 comments on commit de64624

Please sign in to comment.